From 9bbb213bc223ea6a1d2c08cc9ef19cacef5441df Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sun, 4 Jan 2026 01:58:15 -0800 Subject: [PATCH] use shorthand localized date format --- src/renderer/utils/format.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/utils/format.tsx b/src/renderer/utils/format.tsx index c449f85a9..cff6a160e 100644 --- a/src/renderer/utils/format.tsx +++ b/src/renderer/utils/format.tsx @@ -87,12 +87,12 @@ updateDayjsLocale(); // Listen for i18n language changes i18n.on('languageChanged', updateDayjsLocale); -export const formatDateAbsolute = (key: null | string) => (key ? dayjs(key).format('LL') : ''); +export const formatDateAbsolute = (key: null | string) => (key ? dayjs(key).format('ll') : ''); export const formatDateAbsoluteUTC = (key: null | string) => - key ? dayjs.utc(key).format('LL') : ''; + key ? dayjs.utc(key).format('ll') : ''; -export const formatHrDateTime = (key: null | string) => (key ? dayjs(key).format('LLL') : ''); +export const formatHrDateTime = (key: null | string) => (key ? dayjs(key).format('lll') : ''); export const formatDateRelative = (key: null | string) => (key ? dayjs(key).fromNow() : '');