Your comments
I should have said that I tried that :) sorry
const options = {
isHebrewYear: false,
candlelighting: true,
location: location,
sedrot: true,
omer: false,
start: start,
end: end,
useElevation: true,
hour12: false,
dailyLearning: { dafYomi: true },
};
const events = HebrewCalendar.calendar(options);
also returns no daily readings...
but returns all the other information expected.
Customer support service by UserEcho
Here is the entire setup:
var hebcalCore = global.get("hebcalCore"); var hebcalLearning = global.get("hebcalLearning"); var Location = hebcalCore.Location; var HebrewCalendar = hebcalCore.HebrewCalendar; var Event = hebcalCore.Event; var HDate = hebcalCore.HDate; var HebrewDateEvent = hebcalCore.HebrewDateEvent; var start = new Date(); var end = new Date(new Date().setDate(new Date().getDate() + 14)); const location = new Location(48.8, -122.5, false, "America/Los_Angeles",'','','',100); msg.payload = {}; const options = { isHebrewYear: false, candlelighting: true, location: location, sedrot: true, omer: false, start: start, end: end, useElevation: true, hour12: false, dailyLearning: { dafYomi: true }, }; const events = HebrewCalendar.calendar(options);I have a hunch that the import of learning is failing and the format isnt liked here...is there a normal name that the code expects or an instantiated name?