Hacker GitHub

← All repos

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

Mentions per year 15 mentions · busiest year 2024 (9)
20082026
  1. …point. I wouldn't have 1 year ago though. [1]: https://news.ycombinator.com/item?id=45608547 [2]: https://github.com/BurntSushi/jiff
  2. …Biff uses. "Make like a tree and get out of here!" https://www.youtube.com/shorts/9Jabplo2pZU [1]: https://github.com/BurntSushi/jiff
  3. …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,…
  4. …), 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…
  5. …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
  6. 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
  7. …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
  8. 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
  9. …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
  10. 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
  11. …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
  12. 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
  13. 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
  14. 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
  15. ▲ 448
    Jiff: Datetime library for Rust
    story by goranmoomin · 2024-07-22 · 241 comments