Fixed dropdown menu where if window small and parts of menu hidden no scroll appeared and user was stuck, also fixed time js which showed +1h, enabled image copying documents

This commit is contained in:
Simon Pocrnjič
2026-03-18 21:09:30 +01:00
parent 9c773be3ec
commit d80c99c6c0
3 changed files with 4 additions and 5 deletions
+1 -3
View File
@@ -1,4 +1,4 @@
export function fmtDateTime(d) {
export const fmtDateTime = (d) => {
if (!d) return "";
try {
const dt = new Date(d);
@@ -6,13 +6,11 @@ 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) {