fix: ensure consistent date display by explicitly setting UTC timezone in date formatting

This commit is contained in:
2025-12-25 20:15:05 +00:00
parent 5493144933
commit af4b45597b
2 changed files with 5 additions and 3 deletions

View File

@@ -25,6 +25,7 @@
month: "short", month: "short",
day: "numeric", day: "numeric",
year: "numeric", year: "numeric",
timeZone: "UTC",
}); });
} }

View File

@@ -106,9 +106,10 @@
> >
<span></span> <span></span>
<span <span
>{new Date( >{new Date(print.date).toLocaleDateString(
print.date, "en-US",
).toLocaleDateString()}</span { timeZone: "UTC" },
)}</span
> >
</div> </div>
</div> </div>