Skip to content

Conversation

@tsvi
Copy link

@tsvi tsvi commented Apr 14, 2019

This adds support for formatting hebrew date.

Does not include yet parasha and limudim. Not pythonic yet.

Added unit tests for all code lines.

tsvi added 4 commits April 8, 2019 21:01
This is a WIP. It is supposed to mimc the behavior of the HebrewDateFormatter
from the KosherJava version.

After this commit 2 tests will be added. 1 passes.
Improve format_month coverage to 100% by adding test cases for both Adars.
Bugfixes in comparison method.
Add tests for testing numbers
@tsvi tsvi changed the title Add support for hebre date formatter Add support for hebrew date formatter Apr 14, 2019
tsvi added 4 commits April 29, 2019 20:28
So as to keep in line with the Java implemetation I changed the order of the
enums to match the order used in the formatting
To keep in line with the KosherJava implementation, I changed the name
of taanis_esther and tzom_gedalya to 'fast_of_*'
'SignificantDays', 'erev_pesach pesach chol_hamoed_pesach pesach_sheni \
erev_shavuos shavuos seventeen_of_tammuz \
tisha_beav tu_beav erev_rosh_hashana rosh_hashana \
fast_of_gedalyah erev_yom_kippur yom_kippur \
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally getting to this :)

The naming convention for all significant days was taken from the KosherJava project, and I'd prefer not to deviate unless there were a compelling reason to do so. Also, please note that Lag B'Omer has now been added to the mix, and the spelling has been changed from the 'Lag BaOmer' previously used (in the omer formatting logic).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants