mirror of
https://github.com/BurntSushi/jiff.git
synced 2025-12-23 08:47:45 +00:00
This does make _some_ use cases a bit more annoying, but I think it overall makes the API more consistent. Essentially, unless `SpanRelativeTo::days_are_24_hours` are provided, then Jiff will always consider days to be a variable unit like weeks, months and years. Previously, this would only happen _some_ of the time. For now, when that assumption is silently made, Jiff will emit a deprecation warning. This will turn into a hard error in `jiff 0.2`. Ref #48 |
||
|---|---|---|
| .. | ||
| tc39_262 | ||
| lib.rs | ||