mirror of
https://github.com/uutils/parse_datetime.git
synced 2026-10-16 03:25:04 -07:00
* fix(relative): add the fraction of a negative relative second count `Relative::Seconds` holds a floor decomposition, so -0.25 seconds is `(-1, 750_000_000)`. A `jiff::Span` is sign-uniform, so combining those two fields directly subtracted the fraction instead of adding it and the result was off by `2 * (1 - fraction)` seconds. Rebalance the fraction onto the sign of the whole seconds before building the span. * fix(relative): shorten the fraction comment, align the GNU version to 9.11