From a598fc2414ec8a29a377dedd6c9a1904c8ff3566 Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Mon, 30 Sep 2024 22:35:44 -0700 Subject: [PATCH] use ISO date (#1704) --- src/deploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deploy.ts b/src/deploy.ts index c6ab6e008..91204fe96 100644 --- a/src/deploy.ts +++ b/src/deploy.ts @@ -850,7 +850,7 @@ function formatAge(age: number): string { const hours = Math.round(age / 1000 / 60 / 60); return `${hours} hour${hours === 1 ? "" : "s"} ago`; } - return `at ${new Date(Date.now() - age).toLocaleString("en")}`; + return `at ${new Date(Date.now() - age).toLocaleString("sv")}`; } async function readCacheFile(sourceRoot: string, path: string): Promise {