From be347ca8965f724b7b058aa24139b748fd3927eb Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 27 Sep 2024 13:24:21 +0200 Subject: [PATCH] fix 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 d63c7f2..e9ef6f3 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/GMT", + timeZone: intlTimezone ? intlTimezone[0] : "Etc/UTC", dateStyle: "short", timeStyle: "medium", })