Skip to content

0.5.0

Compare
Choose a tag to compare
@ariebovenberg ariebovenberg released this 21 Mar 09:52
· 116 commits to main since this release

Breaking changes

  • Fix handling of -0000 offset in RFC2822 format, which was not according to the standard. NaiveDateTime can now no longer be created from this format.
  • DateDelta canonical format now uses P prefix.

Improved

  • Add explicit ISO8601 formatting/parsing methods to datetimes, date, time, and deltas.
  • Add missing Date.from_canonical_format method.
  • Separate docs for deltas and datetimes.
  • NaiveDateTime.assume_offset now also accepts integers as hour offsets.