fix showing scheduling

master
Aevann 2024-11-06 00:22:06 +02:00
parent a777d56c76
commit cc6f96444a
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ function formatTime(d) {
const options = {year: 'numeric', month: 'short', day: 'numeric', hour: '2-digit', minute: '2-digit', timeZoneName: 'short'};
return d.toLocaleTimeString([], options)
}
if (!location.pathname.startsWith('/chat/')) {
if (!location.pathname.startsWith('/chat/') || location.pathname.endsWith('/orgies')) {
for (const e of document.querySelectorAll('[data-time]')) {
e.innerHTML = formatTime(new Date(e.dataset.time*1000));
};