4 Commits
Author SHA1 Message Date
dualfroz c351ca7d56 Describe this repository 2026-10-22 21:07:44 +02:00
dualfroz a449056f05 fix: carry the sign on the interval instead of on each unit 2026-09-24 09:02:10 +02:00
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
dualfroz 4b7172e13c 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-06 00:59:14 +02:00