use absolute date for release date column (#1364)

This commit is contained in:
jeffvli
2025-12-10 17:36:03 -08:00
parent 27eebe474e
commit 5da119e065
3 changed files with 54 additions and 4 deletions
+3
View File
@@ -27,6 +27,9 @@ export const formatDateAbsolute = (key: null | string) =>
export const formatDateAbsoluteUTC = (key: null | string) =>
key ? dayjs.utc(key).format(getDateFormat(key)) : '';
export const formatHrDateTime = (key: null | string) =>
key ? dayjs(key).format('YYYY-MM-DD HH:mm') : '';
export const formatDateRelative = (key: null | string) => (key ? dayjs(key).fromNow() : '');
export const formatDurationString = (duration: number) => {