A small suggest about approximate revision diff
alexqu0822 opened this issue ยท 0 comments
You honourable.
Classic Version.
v58 doesnot work after v59 was released.
I reviewed code on line 4476 @ DBM-Core.lua
[[if revDifference > 21000000 then]]
20200904151806-20200829144948=75006858
But actually there are 6 days between them.
Maybe it could be
local minor = diff % 100;
local major = diff - minor;
if minor > 31 then -- 31 < minor < 100
diff = major * 30 + 70 - minor;
else
diff = major * 30 + minor;
end
That will get a better approximate value.
Appreciate ur work. Patreon booked ur channel : )