Hacker News Front Page · Andrew Gallant ·
A datetime library for Rust
Jiff 1.0 ofrece una API de fecha y hora para Rust que integra las zonas horarias y permite resolver de forma explícita las horas ambiguas o inexistentes durante los cambios de horario de verano. El recorrido explica sus tipos principales, las diferencias entre `Span` y `SignedDuration`, y las opciones de cálculo, redondeo, análisis y formato. El autor también destaca su compromiso de mantener la compatibilidad de la API y señala cuándo bastan las herramientas de la biblioteca estándar.
Jiff is a datetime library for Rust that encourages you to jump into the pit of success. Jiff automatically handles many common problems related to daylight saving time by putting time zone handling front and center into the API. Jiff has already seen widespread adoption in the Rust ecosystem.