minor fix

This commit is contained in:
ivan 2024-06-24 23:00:08 +03:00
parent ee523822ed
commit 0f9cb9e260
1 changed files with 2 additions and 2 deletions

View File

@ -341,8 +341,8 @@ function makeTable(UTC, timeoutput) {
const dayOfYear = date => Math.floor((date - new Date(date.getFullYear(),
0, 0)) / (1000 * 60 * 60 * 24));
var daynumber = dayOfYear(new Date());
var degree = Math.round((360 / 365) * (daynumber + 10));
var rotatestring = "rotate(" + degree + "deg)"
var degree = Math.round((360 / 365) * (daynumber + 10)) * (-1);
var rotatestring = "rotate(" + degree + "deg)";
document.getElementById("wheel").style.transform = rotatestring;
</script>