BurntSushi/jiff
View on GitHub ↗ ★ 2,988 Rust
A datetime library for Rust that encourages you to jump into the pit of success.
15 mentions on Hacker News by 11 people: 1 story, 14 comments · first 2024-07-22 · latest 2026-05-28
20082026
-
…point. I wouldn't have 1 year ago though. [1]: https://news.ycombinator.com/item?id=45608547 [2]: https://github.com/BurntSushi/jiff
comment by burntsushi · 2026-05-28 · in Bttf is a command line datetime Swiss army knife -
…Biff uses. "Make like a tree and get out of here!" https://www.youtube.com/shorts/9Jabplo2pZU [1]: https://github.com/BurntSushi/jiff
comment by burntsushi · 2026-05-28 · in Bttf is a command line datetime Swiss army knife -
…The comparison between jiff, chrono, time and hifitime is just as good of a read in my opinion: https://github.com/BurntSushi/jiff/blob/HEAD/COMPARE.md (And they have also written interesting things on regex, non-regex string matching,…
comment by VorpalWay · 2026-03-24 · in Ripgrep is faster than grep, ag, git grep, ucg, pt, sift (2016) -
…), see burntsushi's arguments for the need of a better datetime handling library in Rust ( https://github.com/BurntSushi/jiff/blob/master/DESIGN.md#why... ). I'm not sure his jiff create will be the one, i think temporal_rs has become the…
comment by jitl · 2026-03-12 · in Temporal: The 9-year journey to fix time in JavaScript -
…of Jiff[1] (including reading from leapsecond tzdb data) but ripped it out for reasons.[2] [1]: https://github.com/BurntSushi/jiff [2]: https://github.com/BurntSushi/jiff/issues/7
comment by burntsushi · 2026-01-12 · in Date is out, Temporal is in -
Somewhat related: Jiff ( https://github.com/BurntSushi/jiff ) is a Rust library inspired by the Temporal api.
comment by jrpelkonen · 2026-01-12 · in Date is out, Temporal is in -
…is guaranteed to be valid UTF-8. unsafe { core::str::from_utf8_unchecked(self.as_bytes()) } } } https://github.com/BurntSushi/jiff/blob/08dfdde204c739e38147... How much performance does `from_utf8_unchecked` buy us over `from_utf8`? It's…
comment by mleonhard · 2024-07-23 · in Jiff: Datetime library for Rust -
Right, but I address this in the issue linked elsewhere in this thread: https://github.com/BurntSushi/jiff/issues/7 Like yes, scientific applications are a very valid use case for this. But scientific applications usually want other things…
comment by burntsushi · 2024-07-22 · in Jiff: Datetime library for Rust -
…files, but it does not have first-class support. Here is the relevant Jiff issue with more details: https://github.com/BurntSushi/jiff/issues/7 UNIX timestamps don't use the SI second definition (instead it's 1/86000th of the current day,…
comment by demurgos · 2024-07-22 · in Jiff: Datetime library for Rust -
Comparison with Chrono link: https://github.com/BurntSushi/jiff/blob/master/COMPARE.md#ch... This is interesting, in that Rust with Chrono is the best datetime experience I've had in any language.
comment by the__alchemist · 2024-07-22 · in Jiff: Datetime library for Rust -
…and on and on For anyone having that thought, try reading through the design document of Jiff ( https://github.com/BurntSushi/jiff/blob/master/DESIGN.md ), which, as all things burntsushi do, is excellent and extensive. Another good read…
comment by magnio · 2024-07-22 · in Jiff: Datetime library for Rust -
Burntsushi explains here in great detail the reasoning for not supporting leap seconds: https://github.com/BurntSushi/jiff/issues/7
comment by kibwen · 2024-07-22 · in Jiff: Datetime library for Rust -
https://github.com/BurntSushi/jiff/blob/master/DESIGN.md#why... > Jiff is pronounced like "gif" with a soft "g," as in "gem." Heh, I see what they did there…
comment by Sharlin · 2024-07-22 · in Jiff: Datetime library for Rust -
Linked from the readme: https://github.com/BurntSushi/jiff/blob/master/DESIGN.md https://github.com/BurntSushi/jiff/blob/master/COMPARE.md TLDR: API and IANA timezone support primarily.
comment by Sharlin · 2024-07-22 · in Jiff: Datetime library for Rust -
▲ 448
Jiff: Datetime library for Ruststory by goranmoomin · 2024-07-22 · 241 comments