Files
wroberts-pytimeparse/pytimeparse
dualfroz 7b055c8116 fix: round decimal unit values instead of truncating in integer path
Multiplying a decimal quantity by its unit multiplier in binary floating
point can land just below the exact integer (float('2.05') * 60 ==
122.999...), so int() truncated 2.05m to 122 seconds instead of 123.
Round the sub-second unit contribution before adding whole seconds.
2026-09-04 09:22:40 +02:00
..