Skip to content

Releases: fitnr/convertdate

v2.4.0

22 Jan 18:24
Compare
Choose a tag to compare

What's Changed

  • Use timezone.utc instead of pytz.utc by @asfaltboy in #49
  • Migrate to github workflows by @fitnr in #51
  • Drop support for Python version 3.5 and 4.6

v2.3.2

13 Mar 21:06
Compare
Choose a tag to compare
  • Switch Persian calendar to astronomical computation (was non-canonical algorithmic method)
  • Fix inappropriate uses of trunc, which caused several errors before the Julian Day epoch (#39, #40, #42)
  • Fix bug in julian.leap (#43)
  • Add official suppport and tests for Python 3.9
  • Raise ValueError for attempted conversion of dates before the Mayan epoch

2.3.0

07 Nov 15:16
Compare
Choose a tag to compare
  • Fix bug in Bahai calculations during Ayyám-i-Há (#32). Thanks @chiuczek
  • Regularize variable names:
    • coptic: rename MONTH_NAMES to MONTHS, rename DAY_NAMES to WEEKDAYS
    • french_republican: add MONTHS
    • mayan: rename HAAB_MONTHS to HAAB, rename TZOLKIN_NAMES to TZOLKIN
  • Add some Jewish and Islamic holidays to holidays: shemini_azeret, lag_baomer, tu_beshvat, tisha_bav, ramadan, ashura, eid_alfitr, eid_aladha
  • Add docs. See https://convertdate.readthedocs.io/
  • Fix December 31st bug in ordinal (#34)
  • Add Indigenous Peoples' Day and Juneteenth to holidays, deprecate Columbus day
  • Additional format methods for expressing dates as strings (#37, thanks @philosp)

v2.2.0

27 Oct 14:31
Compare
Choose a tag to compare
  • Repair Bahai intercalary days bug (#13, thanks @bchurchill)
  • Replace pyephem, which is now in maintenance mode, with pymeeus.
  • Remove shebangs and regularize licenses (thanks @fabaff)
  • Convert readme to ascii (#16)

v2.1.2: 2.1.2

18 Oct 17:12
Compare
Choose a tag to compare
  • Additional Jewish holidays (thanks, @ohadeytan)
  • Upload source distributions to Pypi (#10)

2.0.5

14 Sep 16:20
Compare
Choose a tag to compare

Bug fixes:

  • Fix Yom Kippur error in holidays.py (issue #3)

2.0.4

23 Mar 02:49
Compare
Choose a tag to compare

Bug fixes:

  • Typo in name of holidays.independence_day method
  • Fix major bug in ordinal.from_gregorian

Other changes:

  • Expand and organized tests

2.0.3.1

25 Nov 17:04
Compare
Choose a tag to compare

Features:

  • Add ordinal module, for counting the day of year
  • Added Mexican national holidays
  • Add monthcalendar function to Bahai

Other changes:

  • Simplified logic in ISO module

Dublin

24 Nov 18:51
Compare
Choose a tag to compare

Features:

  • Add list of day names and day_name function to French Republican converter
  • Add multiple conversion methods to the French Republican calendar
  • Add Dublin day count and Julian day count converters
  • Add month names to Bahai and Hebrew calendars.

Other changes:

  • Clarify that weekdays run Monday=0 to Sunday=6 (#1)
  • Change Julian converter to use astronomical notation (0 = 1 BCE, -1 = 1 BCE)
  • Expanded tests