News for hackers. Stuff that matters.
Re:Jiff 1.0: A datetime library for Rust by Arch485 on Monday November 16, 2026 @03:57PM (#50523149)
I'm really curious - what makes you say chrono's API sucks?

I've used it in several projects, and to me it seems just fine. Granted, I don't do a lot of cross-time zone work; I exclusively use UTC whenever possible.

Re:Jiff 1.0: A datetime library for Rust by lifthrasiir on Monday November 16, 2026 @06:07PM (#50524869)
A commonly cited reason is that it mixes Option<T> and Result<T, E> for error handling. It was designed well before Rust's API convention is settled, and I also wrongly assumed that some features like procedural macros would be delivered soon (which was why `ymd` and such panic on error).