a tool for shared writing and social publishing

log effectivetz and locale

+1
+1
src/hooks/useLocalizedDate.ts
··· 43 43 ? language?.split(",")[0]?.split(";")[0]?.trim() || "en-US" 44 44 : Intl.DateTimeFormat().resolvedOptions().locale; 45 45 46 + console.log({ effectiveLocale, effectiveTimezone }); 46 47 try { 47 48 return dateTime.toLocaleString(options, { locale: effectiveLocale }); 48 49 } catch (error) {