From 134388db90a3f6ba0dd8498da297d6b78efee2d1 Mon Sep 17 00:00:00 2001 From: Matias Espinoza Date: Fri, 7 Dec 2018 17:23:44 -0300 Subject: [PATCH] se modifico el formato de la fecha 'mm-dd-aaaa' --- 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 fd69a38..2320644 100644 --- a/src/app/services/date.service.ts +++ b/src/app/services/date.service.ts @@ -36,7 +36,7 @@ export class DateService { if( day < 10 ) { dd = '0'+ day; } else{ dd = day; } if( month < 10 ) { mm = '0'+ month; } else{ mm = month; } - return `${ dd }-${ mm }-${ year }`; + return `${ mm }-${ dd }-${ year }`; } // Extrae y retorna la hora actual