Releases: hebcal/hebcal-es6
Improved candle-lighting times
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
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
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
The API is now stabilized. Enjoy!