chore: merge dev to main #181

Merged
Anri merged 40 commits from dev into main 2024-09-27 20:49:36 +02:00
Showing only changes of commit be347ca896 - Show all commits

View file

@ -11,7 +11,7 @@ export const showDate = (tz: string, locale: Map<string, unknown>, 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",
})