this post was submitted on 11 Feb 2025
15 points (94.1% liked)

Rust

6502 readers
5 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
 

Jiff is a datetime library for Rust that encourages you to jump into the pit of success. The focus of this library is providing high level datetime primitives that are difficult to misuse and have reasonable performance.

And as a user of Jiff, I must say that it is very nice to use. Well thought out API, making date time handling less of a pain. So, nice work @[email protected]

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 3 weeks ago (3 children)

Jiff is a datetime library for Rust that encourages you to jump into the pit of success. The focus of this library is providing high level datetime primitives that are difficult to misuse and have reasonable performance. Jiff supports automatic and seamless integration with the Time Zone Database, DST aware arithmetic and rounding, formatting and parsing zone aware datetimes losslessly, opt-in Serde support and a whole lot more.

Jiff takes enormous inspiration from Temporal, which is a TC39 proposal to improve datetime handling in JavaScript.

[–] [email protected] 1 points 3 weeks ago (2 children)

While I think there is always something that can be improved, I don't like that we are getting a third major date time library alongside time and chrono.

https://xkcd.com/927/

load more comments (1 replies)