Skip to content

v0.4.1

Compare
Choose a tag to compare
@pitdicker pitdicker released this 05 Sep 11:59
· 1293 commits to main since this release
ee52f2f

Bug Fixes

  • Allow parsing timestamps with subsecond precision (@jonasbb)
  • RFC2822 allows times to not include the second (@upsuper)

Features

  • New timestamp_millis method on DateTime and NaiveDateTim that returns number of milliseconds since the epoch. (@quodlibetor)
  • Support exact decimal width on subsecond display for RFC3339 via a new to_rfc3339_opts method on DateTime (@dekellum)
  • Use no_std-compatible num dependencies (@cuviper)
  • Add SubsecRound trait that allows rounding to the nearest second (@dekellum)