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() : '');