fix: use default locale for formatting dates (#950)
Some checks failed
Release Please / release-please (push) Has been cancelled
Release Preview / call-reusable-release (push) Has been cancelled
Test / test-nix (push) Has been cancelled
Test / test-win (push) Has been cancelled
Update Restic / update-restic-version (push) Has been cancelled

This commit is contained in:
Michael Pearson
2025-10-18 11:34:47 +11:00
committed by GitHub
parent e41c357d30
commit c4d333e0ed

View File

@@ -47,7 +47,7 @@ export const localISOTime = (time: number | string | Date) => {
return d.toISOString(); return d.toISOString();
}; };
const fmtDate = new Intl.DateTimeFormat("en-US", { const fmtDate = new Intl.DateTimeFormat(undefined, {
year: "numeric", year: "numeric",
month: "2-digit", month: "2-digit",
day: "2-digit", day: "2-digit",