mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-26 03:05:00 +01:00
zen: show browser default time
This commit is contained in:
@@ -16,7 +16,7 @@ export function formatDateForTable(date: Date) {
|
|||||||
minute: "2-digit",
|
minute: "2-digit",
|
||||||
hour12: true,
|
hour12: true,
|
||||||
}
|
}
|
||||||
return date.toLocaleDateString("en-GB", options).replace(",", ",")
|
return date.toLocaleDateString(undefined, options).replace(",", ",")
|
||||||
}
|
}
|
||||||
|
|
||||||
export function formatDateUTC(date: Date) {
|
export function formatDateUTC(date: Date) {
|
||||||
|
|||||||
Reference in New Issue
Block a user