diff --git a/src/routes/library/+page.svelte b/src/routes/library/+page.svelte index b13c379..d1dd6f5 100644 --- a/src/routes/library/+page.svelte +++ b/src/routes/library/+page.svelte @@ -25,6 +25,7 @@ month: "short", day: "numeric", year: "numeric", + timeZone: "UTC", }); } diff --git a/src/routes/prints/+page.svelte b/src/routes/prints/+page.svelte index 4562a3e..20c5d9b 100644 --- a/src/routes/prints/+page.svelte +++ b/src/routes/prints/+page.svelte @@ -106,9 +106,10 @@ > {new Date( - print.date, - ).toLocaleDateString()}{new Date(print.date).toLocaleDateString( + "en-US", + { timeZone: "UTC" }, + )}