From 3b090bdf922ebb98b715d93ba6b6aae797740f71 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 27 Sep 2024 14:41:22 +0200 Subject: [PATCH] test --- src/utils/time.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/time.ts b/src/utils/time.ts index e9ef6f3..f07d80a 100644 --- a/src/utils/time.ts +++ b/src/utils/time.ts @@ -11,7 +11,7 @@ export const showDate = (tz: string, locale: Map, date: Date) = const localeInfo = new Intl.Locale(tz); const intlTimezone = moment.tz.zonesForCountry(localeInfo.region ?? localeInfo.baseName); const formattedDate = new Intl.DateTimeFormat(tz, { - timeZone: intlTimezone ? intlTimezone[0] : "Etc/UTC", + timeZone: intlTimezone ? intlTimezone[0] : "Factory", dateStyle: "short", timeStyle: "medium", })