diff --git a/package.json b/package.json index 54a825c..5cdcc99 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hebcal/icalendar", - "version": "4.17.1", + "version": "4.17.2", "author": "Michael J. Radwin (https://github.com/mjradwin)", "keywords": [ "ical", @@ -24,7 +24,7 @@ "url": "https://github.com/hebcal/hebcal-icalendar/issues" }, "dependencies": { - "@hebcal/core": "^3.36.0", + "@hebcal/core": "^3.36.1", "@hebcal/rest-api": "^3.13.0", "murmurhash3": "^0.5.0" }, diff --git a/src/icalendar.js b/src/icalendar.js index db25cef..76a7c1a 100644 --- a/src/icalendar.js +++ b/src/icalendar.js @@ -384,7 +384,8 @@ function createMemo(e, options) { } const mask = e.getFlags(); if (mask & flags.OMER_COUNT) { - return e.getTodayIs('en') + '\\n\\n' + e.memo; + const sefira = [e.sefira('en'), e.sefira('he'), e.sefira('translit')].join('\\n'); + return e.getTodayIs('en') + '\\n\\n' + sefira + '\\n\\n' + e.url(); } const url = appendTrackingToUrl(e.url(), options); const torahMemo = makeTorahMemo(e, options.il); diff --git a/src/icalendar.spec.js b/src/icalendar.spec.js index e5704af..d026643 100644 --- a/src/icalendar.spec.js +++ b/src/icalendar.spec.js @@ -506,7 +506,7 @@ test('OmerEvent', (t) => { 'CLASS:PUBLIC', 'DESCRIPTION:Today is 37 days\\, which is 5 weeks and 2 days of the Omer\\n\\n', ' Might within Foundation\\nגְבוּרָה שֶׁבִּיְּסוֹד\\nGevu', - ' rah shebiYesod', + ' rah shebiYesod\\n\\nhttps://www.hebcal.com/omer/5781/37', 'BEGIN:VALARM', 'ACTION:DISPLAY', 'DESCRIPTION:Event reminder',