Skip to content

Commit

Permalink
use ISO date (#1704)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock authored Oct 1, 2024
1 parent 5985bd8 commit a598fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> {
Expand Down

0 comments on commit a598fc2

Please sign in to comment.