Post

A datetime library for Rust

Jiff 1.0 brings a stable datetime API for Rust, with time zones and daylight-saving transitions built into its model rather than left as an afterthought.

Andrew Gallant walks through civil dates, timestamps, zoned datetimes, parsing and calendar arithmetic. He plans to maintain the 1.0 API indefinitely barring a significant defect, because breaking changes to a public dependency can ripple through the ecosystem.

Early HN reactions praise the library and discuss whether a language standard library should provide more comprehensive datetime support.