Skip to content

Commit

Permalink
se modifico la fecha
Browse files Browse the repository at this point in the history
  • Loading branch information
matias1305 committed Dec 7, 2018
1 parent 134388d commit 1c85e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/date.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c85e31

Please sign in to comment.