From 1c85e3103813e63751b52f123a7f169347f0d4d9 Mon Sep 17 00:00:00 2001 From: Matias Espinoza Date: Fri, 7 Dec 2018 17:32:33 -0300 Subject: [PATCH] se modifico la fecha --- src/app/services/date.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/services/date.service.ts b/src/app/services/date.service.ts index 2320644..2508f03 100644 --- a/src/app/services/date.service.ts +++ b/src/app/services/date.service.ts @@ -22,7 +22,7 @@ export class DateService { if( hour < 10 ){ hh = '0'+hour; } else{ hh = hour; } if( min < 10 ) { m = '0'+min; } else{ m = min; } - return `${ dd }-${ mm }-${ year } ${hh}:${m}`; + return `${ mm }-${ dd }-${ year } ${hh}:${m}`; } // Extrae y retorna el día actual