Skip to content

Commit

Permalink
fix: show date format not in 12-hour format
Browse files Browse the repository at this point in the history
  • Loading branch information
gion-andri committed Dec 4, 2023
1 parent e8d0c8b commit 6d2daaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/shared/utils/dates.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ export class DatesUtil {

getDateTimeString(date: number): string {
const djs = dayjs.unix(date);
return djs.format('DD-MM-YYYY hh:mm:ss');
return djs.format('DD-MM-YYYY H:mm:ss');
}
}

0 comments on commit 6d2daaf

Please sign in to comment.