Changelog
This document records all notable changes to pyluach. This project adheres to Semantic Versioning.
2.2.0 (2023-02-28)
Added prefix_day param to
festival
andholiday
methods and functions.
2.1.0 (2023-02-12)
Added
add
andsubtract
methods todates.HebrewDate
.Added
replace
method toCalendarDateMixin
.Added missing documentation for %y and %Y in formatting
HebrewDate
.
2.0.2 (2022-10-24)
Fix subtracting one date from another returning
float
instead ofint
.
2.0.1 (2022-08-24)
Fix issue (#24) where Shavuos is returned in most months on day 7.
2.0.0 (2022-05-29)
Changed equality comparers to compare object identity on unmatched types.
Equal dates of different types will no longer be considered identical keys for dicts.
Added
strftime
and__format__
methods todates.GregorianDate
.Added
__format__
method todates.HebrewDate
.Added withgershayim parameter to
dates.HebrewDate.hebrew_day
anddates.HebrewDate.hebrew_year
methodsAdded
monthcount
method tohebrewcal.Year
.Removed deprecated
hebrewcal.Month.name
attribute.Implemented HebrewCalendar classes for generating calendars similar to Calendar classes in the standard library calendar module.
1.4.2 (2022-05-20)
Fixed bug in
hebrewcal.Month
comparisons when one month is before Nissan and one is not.
1.4.1 (2022-03-25)
Fixed mistakes in docstring and error message.
1.4.0 (2022-02-21)
Added parameter include_working_days to
festival
method and function.Removed support for python < 3.6
1.3.0 (2021-06-09)
Added option to get parsha in Hebrew.
Added
dates.HebrewDate
methods to get hebrew day, month, year, and date string in Hebrew.Added method to get
hebrewcal.Month
names in Hebrew.Added methods to get year and month strings in Hebrew.
Added classmethods to
hebrewcal.Year
andhebrewcal.Month
to get objects from dates and pydates.Added methods to dates classes to get holidays, fast days and festivals.
Implemented more consistent Hebrew to English transliterations for parshios.
1.2.1 (2020-11-08)
Fixed molad having weekday of
0
when it should be7
.
1.2.0 (2020-10-28)
Created
isoweekday
method for all date types in thedates
module.Created fast_day and festival functions (#11)
Added Pesach Sheni to festival.
1.1.1 (2020-08-14)
Fixed error getting parsha of Shabbos on Rosh Hashana.
1.1.0 (2020-06-03)
Redesigned documentation.
Added
molad
andmolad_announcement
methods tohebrewcal.Month
.Stopped supporting python < 3.4 and modernized code.
1.0.1 (2019-03-02)
Initial public release