This commit is contained in:
The Arrayser 2023-01-06 18:37:13 +01:00 committed by GitHub
parent 055fb8a9af
commit badfb3b5d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -423,7 +423,7 @@
}
}
previousValue2 = Math.floor(d.getMilliseconds() + 1000 * (d.getSeconds() % 2)/400);
document.getElementById("negclock").innerHTML = (365 - d.getDays()).toString().padStart(3, '0') + " - " + d.getHours().toString().padStart(2, '0') + ":" + d.getMinutes().toString().padStart(2, '0') + ":" + d.getSeconds().toString().padStart(2, '0') + "." + d.getMilliseconds().toString().padStart(3, '0');
document.getElementById("negclock").innerHTML = (365 - d.getDay()).toString().padStart(3, '0') + " - " + d.getHours().toString().padStart(2, '0') + ":" + d.getMinutes().toString().padStart(2, '0') + ":" + d.getSeconds().toString().padStart(2, '0') + "." + d.getMilliseconds().toString().padStart(3, '0');
}
</script>
</div>