v0.4.24
This is a small maintenance release with accumulated fixes and improvements.
- Fix doc on
Days::new()
to refer to days, not months (#874, thanks to @brotskydotcom) - Clarify out of range value for
from_timestamp_opt()
(#879, thanks to @xmo-odoo) - Add
format_localized()
forNaiveDate
(#881, thanks to @mseele) - Fix bug in
Add
/Sub
Days
, add tests with DST timezone (#878) - Make
NaiveTime::MIN
public (#890) - Fix
from_timestamp_millis()
implementation and add more tests (#885) - Fix typo in docstrings (#897, thanks to @dandxy89)
- Add test proving that #903 is fixed in 0.4.x head (#905, thanks to @umanwizard)
- Add
from_timestamp_micros()
function (#906, thanks to @umanwizard) - Check cargo-deny in CI (#909)
- Derive
Hash
for most pub types that also derivePartialEq
(#938, thanks to @bruceg) - Update deprecated methods in
from_utc()
example (#939, thanks to @greg-el) - Fix panic in
DateTime::checked_add_days()
(#942, thanks to @Ekleog) - More documentation for dates before 1 BCE or after 9999 CE (#950, thanks to @cgit)
- Improve
FixedOffset
docs (#953, thanks to @klnusbaum) - Add chrono-fuzz to CI and update its libfuzzer-sys dependency (#968, thanks to @LingMan)
- Fixes to parsing and calculation of week numbers (#966, thanks to @raphaelroosz)
- Make iana-time-zone a target specific dependency (#980, thanks to @krtab)
- Make eligible functions
const
(#984, thanks to @tormeh)
Thanks to all contributors from the chrono team, @esheppa and @djc.