asdsad
All checks were successful
Deploy / deploy-staging (push) Successful in 52s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-10 22:44:28 +02:00
parent a8f4a4b36a
commit cd5525ff2e
20 changed files with 1951 additions and 351 deletions

View File

@@ -0,0 +1,26 @@
(function () {
const dateNode = document.getElementById('kb-login-date');
const timeNode = document.getElementById('kb-login-time');
if (!dateNode || !timeNode) {
return;
}
const renderClock = () => {
const now = new Date();
dateNode.textContent = new Intl.DateTimeFormat(document.documentElement.lang || 'de', {
weekday: 'long',
month: 'long',
day: 'numeric',
}).format(now);
timeNode.textContent = new Intl.DateTimeFormat(document.documentElement.lang || 'de', {
hour: 'numeric',
minute: '2-digit',
}).format(now);
};
renderClock();
window.setInterval(renderClock, 1000);
}());