80
you are viewing a single comment's thread
view the rest of the comments
[-] prma@programming.dev 1 points 2 months ago

I really likes this package. And I may use it immediately. Very complete and detailed documentation. It lacks in some conveniences like iso8601, rfc3339 or other presets for formatting. But those can be handled manually. Thanks for this!

[-] burntsushi@programming.dev 6 points 2 months ago

You should absolutely not need to handle ISO 8601 and RFC 3339 manually. They are supported via the Display and FromStr trait implementations on every main type in Jiff (Span, Zoned, Timestamp, civil::DateTime, civil::Date and civil::Time). It's technically an implementation of a mixture of ISO 8601, RFC 3339 and RFC 9557, but the grammar is specified precisely by Temporal. See: https://docs.rs/jiff/latest/jiff/fmt/temporal/index.html

[-] prma@programming.dev 2 points 2 months ago

Oh! Goody! This is great! Thanks!

load more comments (2 replies)
load more comments (2 replies)
this post was submitted on 22 Jul 2024
80 points (97.6% liked)

Rust

5876 readers
99 users here now

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

Wormhole

!performance@programming.dev

Credits

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

founded 1 year ago
MODERATORS