Commit Graph
1 Commits
Author SHA1 Message Date
dualfroz ca720ad7ea fix: apply sign of chronometer and time strings to whole Duration
Duration::fromChronoString() and Duration::fromTimeString() only negated the
hour component of a signed input. When the hour was zero or absent the sign was
silently dropped, and when it was present the minute/second/fraction components
stayed positive, producing a duration that did not match the input. Prefix every
unit token with the sign so the whole duration is negated consistently.
2026-09-04 09:03:39 +02:00