Fix tests

Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
yubiuser
2025-11-09 16:10:53 +01:00
committed by Adam Warner
parent a79dfc8296
commit 66f0ef08ce
2 changed files with 4 additions and 3 deletions

View File

@@ -152,8 +152,7 @@ function datetime(date, html, humanReadable) {
return "Never";
}
const format =
html === false ? "y-MM-dd TTT" : "y-MM-dd<br class='hidden-lg'> TTT";
const format = html === false ? "y-MM-dd TTT" : "y-MM-dd<br class='hidden-lg'> TTT";
const timestr = luxon.DateTime.fromMillis(Math.floor(date)).toFormat(format).trim();
return humanReadable
? '<span title="' +