| Jiff 1.0: A datetime library for Rust(burntsushi.net) | |
| 438 points by burntsushi 13 days ago | 95 comments | |
tl;dr: Jiff, a Rust datetime library focused on correct time zone handling and ergonomic APIs, has hit 1.0 with a commitment to long-term semver stability so it can safely be used as a public dependency. It's already in production in uv, Cargo, Starship, Jujutsu, uutils/coreutils, and others. Key features include a layered type system (civil date/time → Timestamp → ZonedDateTime), explicit disambiguation strategies for DST gaps/folds, hybrid Span and SignedDuration types, RFC 3339/9557/ISO 8601 and strptime parsing, a readable "friendly" duration format, and optional ICU4X integration for locale-aware formatting. | |
HN Discussion:
| |