From 17c8826b6ccd16a6ac733ce5eb8f2ceb732ebad8 Mon Sep 17 00:00:00 2001 From: Tyler Adam Martinez Date: Tue, 14 Apr 2026 15:20:53 -0500 Subject: [PATCH] feat(utils/Date): Add time zone name to fields --- src/utils/Date.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/utils/Date.ts b/src/utils/Date.ts index 7b6b00e0..8c1e40c5 100644 --- a/src/utils/Date.ts +++ b/src/utils/Date.ts @@ -17,6 +17,7 @@ export const formatAppDateTime = ( hour: 'numeric', minute: '2-digit', hour12: true, + timeZoneName: 'short', }).format(d) } @@ -24,9 +25,7 @@ export const formatAppDateTime = ( // where the time component is not meaningful. // Handles both YYYY-MM-DD strings (parsed as UTC noon to avoid timezone shift) // and full ISO datetime strings. -export const formatAppDate = ( - value: string | null | undefined -): string => { +export const formatAppDate = (value: string | null | undefined): string => { if (!value) return '' const dateOnlyMatch = value.match(DATE_ONLY_PATTERN)