Releases: hebcal/hebcal-es6
v2.13.0: really fixed browser-only bundle.js breaking change of hebcal__core name
Revert to umd
rollup type and hebcal__core
name to fix previous breaking change (#17).
@hebcal/core
3.0 will reintroduce the name-breaking change and iife
bundle type.
v2.12.0: fxed browser-only bundle.js breaking change of hebcal__core name
Fixed browser-only bundle.js breaking change of hebcal__core name by adding an alias
Tish'a B'Av (observed) on Av 10
v2.10.0 Tish'a B'Av (observed) on Av 10
Chanukah candle-lighting times at dusk
If both options.candlelighting=true
and options.location
is specified, Chanukah candle-lighting times and minor fast start/end times will also be generated. Chanukah candle-lighting is at dusk (when the sun is 6.0° below the horizon in the evening) on weekdays, at regular candle-lighting time on Fridays, and at regular Havdalah time on Saturday night (see above).
Minor fasts begin at Alot HaShachar (sun is 16.1° below the horizon in the morning) and end when 3 medium-sized stars are observable in the night sky (sun is 7.083° below the horizon in the evening).
v2.8.0
Start and end times for fasts
v2.7.0 brings new start and end times for fasts
- Start time = Alot haShachar (16.1 degrees below horizon in morning)
- End time = Tzeit 3 medium-sized stars (7.083 degrees below horizon in evening)
v2.6.1
Fix translation for Rosh Hashana
The event for Rosh Hashana is now translated correctly into the active locale.
Thanks to @ilayDev for finding this bug #10
const RH = new HDate(1, months.TISHREI, 5749);
const options = {start: RH, end: RH};
const ev = HebrewCalendar.calendar(options)[0];
t.is(ev.render('en'), 'Rosh Hashana 5749');
t.is(ev.render('he'), 'רֹאשׁ הַשָּׁנָה 5749');
Holiday and Parsha URL format change
Links generated by HolidayEvent.url()
and ParshaEvent.url()
now include a date.
For example:
Chanukah candle-lighting times & performance improvements
This release changes the behavior of Chanukah candle-lighting times. In versions 2.3.0 and earlier, each day of Chanukah would be represented as 2 Events
: one HolidayEvent
such as Chanukah: 3 Candles
and a separate CandleLightingEvent
with the corresponding time. In version 2.4.0 and later, Chanukah events are now emitted as a single HolidayEvent
with extra attributes eventTime
and eventTimeStr
.
In addition, this release improves performance of HDate
to Date
conversion by caching the absolute Julian Days, and a minor memory improvement to the Event
class by removing the Event.getAttrs()
function and assigning optional attributes directly to the underlying object.