Skip to content

Releases: hebcal/hebcal-es6

Improved candle-lighting times

16 Aug 19:31
Compare
Choose a tag to compare

We've switched candle-lighting times to use an NOAA (National Oceanic and Atmospheric Administration) algorithm. Candle lighting times are now a minute or two earlier and now agree with the Hebcal for C version (and with most popular sunset calculators).

This release also changes the default formatting of candle-lighting times to use 12-hour clock (e.g. 7:34pm instead of 19:34) for locations in the following countries: US, CA, BR, AU, NZ, DO, PR, GR, IN, KR, NP, ZA

Fix Jerusalem 40-minutes before sunset candle-lighting

31 Jul 14:24
Compare
Choose a tag to compare

Force 40-minutes before sunset candle lighting times even when Location is named Jerusalem, Israel instead of just Jerusalem. This is only required to fix an issue with Jerusalem when looked up via the @hebcal/geo-sqlite package; other users of this package that used Location.lookup('Jerusalem') always got the correct 40-minutes before sunset behavior.

Bug fixes for Gregorian years 1-99, Erev Rosh Hashana

24 Jul 18:52
Compare
Choose a tag to compare

For calendars generated with HebrewCalendar.calendar({isHebrewYear: true, year: 5781}), the first event returned is now Erev Rosh Hashana instead of Rosh Hashana 5781. This first event is technically in the previous Hebrew year, but conveniently lets the caller get the Erev event (for clarity) and accompanying candle-lighting times.

Fixed a handful of issues with 2-digit calendar years such as HebrewCalendar.calendar({isHebrewYear: false, year: 88})

Warning! Results for year 1752 C.E. and earlier may be inaccurate. Hebcal does not take into account a correction of ten days that was introduced by Pope Gregory XIII known as the Gregorian Reformation

2.1.3: stable

12 Jul 23:36
Compare
Choose a tag to compare

The API is now stabilized. Enjoy!