Skip to content

v0.5.2

Latest
Compare
Choose a tag to compare
@rlskoeser rlskoeser released this 02 Oct 22:20
5ef75b4
  • repr for Undate, UndateInterval, and UnDelta now produce fully-qualified, constructor-style strings with deterministic field ordering.
  • Added Undate.unknown_year property and is_unknown() method to check for fully-unknown year/month/day.
  • bugfix: comparisons (eq, gt, lt) and contains (in) now return False when year is unknown
  • bugfix: month durations for non-Gregorian dates now returns an integer when month length is known

What's Changed (auto-generated)

  • Improve month duration logic for non-gregorian calendars by @rlskoeser in #146
  • Update comparison methods to check for unknown years by @rlskoeser in #145
  • Revise repr methods to return strings that can be used with eval() by @rlskoeser in #144

Full Changelog: 0.5.1...0.5.2