@hebcal/icalendar
Advanced tools
Comparing version 3.3.1 to 3.4.0
@@ -348,3 +348,3 @@ 'use strict'; | ||
var version="3.3.1"; | ||
var version="3.4.0"; | ||
@@ -521,11 +521,11 @@ const VTIMEZONE = {}; | ||
if (mask & core.flags.OMER_COUNT) { | ||
alarm = '3H'; // 9pm Omer alarm evening before | ||
alarm = '0DT3H30M0S'; // 8:30pm Omer alarm evening before | ||
} else if (isUserEvent) { | ||
alarm = '12H'; // noon the day before | ||
alarm = '0DT12H0M0S'; // noon the day before | ||
} else if (timed && desc.startsWith('Candle lighting')) { | ||
alarm = '10M'; // ten minutes | ||
alarm = '0DT0H10M0S'; // ten minutes | ||
} | ||
if (alarm) { | ||
arr.push('BEGIN:VALARM', 'ACTION:DISPLAY', 'DESCRIPTION:REMINDER', `TRIGGER;RELATED=START:-PT${alarm}`, 'END:VALARM'); | ||
arr.push('BEGIN:VALARM', 'ACTION:DISPLAY', 'DESCRIPTION:This is an event reminder', `TRIGGER:-P${alarm}`, 'END:VALARM'); | ||
} | ||
@@ -532,0 +532,0 @@ |
{ | ||
"name": "@hebcal/icalendar", | ||
"version": "3.3.1", | ||
"version": "3.4.0", | ||
"author": "Michael J. Radwin (https://github.com/mjradwin)", | ||
@@ -26,3 +26,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@hebcal/core": "^2.8.1", | ||
"@hebcal/core": "^2.9.0", | ||
"@hebcal/rest-api": "^2.8.1" | ||
@@ -67,3 +67,3 @@ }, | ||
"ava": "^3.14.0", | ||
"eslint": "^7.15.0", | ||
"eslint": "^7.16.0", | ||
"eslint-config-google": "^0.14.0", | ||
@@ -70,0 +70,0 @@ "jsdoc": "^3.6.6", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29970
Updated@hebcal/core@^2.9.0