timeZone changed to UTC

This commit is contained in:
Simon Pocrnjič 2026-03-09 19:14:52 +01:00
parent 0aa95fba47
commit b6e66f0e64

View File

@ -6,11 +6,13 @@ export function fmtDateTime(d) {
year: "numeric",
month: "2-digit",
day: "2-digit",
timeZone: "UTC",
});
const timePart = dt.toLocaleTimeString("sl-SI", {
hour: "2-digit",
minute: "2-digit",
hour12: false,
timeZone: "UTC",
});
return `${datePart} ${timePart}`;
} catch (e) {