Skip to content

0.2.0

Compare
Choose a tag to compare
@ariebovenberg ariebovenberg released this 10 Jan 10:20
· 233 commits to main since this release

Breaking changes

  • 📐Disambiguation of local datetimes is now consistent with zoned datetimes, and is also run on replace().

  • 👌Renamed:

    • from_strfrom_canonical_str
    • to_utc/offset/zoned/localas_utc/offset/zoned/local.
    • ZonedDateTime.zoneZonedDateTime.tz

Added

  • ⚖️ Support comparison between all aware datetimes
  • 🧮Support subtraction between all aware datetimes
  • 🍩 Convenience methods for converting between aware/naive
  • 💪 More robust handling of zoned/local edge cases

Docs

  • Cleaned up API reference
  • Added high-level overview