math simplification

This commit is contained in:
ivan 2024-06-12 16:02:40 +03:00
parent 1c4c5a4699
commit 79df03e92b
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ function dtime(gregorianDate,resultar="default") {
}
var christianMSDay = date.valueOf() % 86400000;
var ds = (1 / (864 / christianMSDay));
var ds = (christianMSDay/864);
var h = Math.floor(ds/10000);
ds%= 10000;
var m = Math.floor(ds/100);