Skip to content
This repository was archived by the owner on Jan 16, 2022. It is now read-only.

Commit 33f873a

Browse files
tmknjuanpicado
authored andcommitted
fix: formatDate (#308)
1 parent 42d3bb8 commit 33f873a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/package.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function formatRepository(repository: any): string | null {
5555
}
5656

5757
export function formatDate(lastUpdate: string | number): string {
58-
return dayjs(new Date(lastUpdate)).format('DD.MM.YYYY, HH:mm:ss');
58+
return dayjs(new Date(lastUpdate)).format(TIMEFORMAT);
5959
}
6060

6161
export function formatDateDistance(lastUpdate: Date | string | number): string {

0 commit comments

Comments
 (0)