@hebcal/icalendar 6.3.2 → 6.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/icalendar.d.ts +2 -1
- package/dist/index.js +6 -5
- package/dist/pkgVersion.d.ts +1 -1
- package/package.json +1 -1
package/dist/icalendar.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
/*! @hebcal/icalendar v6.3.
|
|
2
|
-
import { flags
|
|
1
|
+
/*! @hebcal/icalendar v6.3.3 */
|
|
2
|
+
import { flags } from '@hebcal/core/dist/esm/event';
|
|
3
|
+
import { Locale } from '@hebcal/core/dist/esm/locale';
|
|
3
4
|
import { murmur32HexSync } from 'murmurhash3';
|
|
4
|
-
import { pad2, pad4 } from '@hebcal/hdate';
|
|
5
|
+
import { pad2, isDate, pad4 } from '@hebcal/hdate';
|
|
5
6
|
import { shouldRenderBrief, getEventCategories, getCalendarTitle } from '@hebcal/rest-api/dist/esm/common';
|
|
6
7
|
import { getHolidayDescription } from '@hebcal/rest-api/dist/esm/holiday';
|
|
7
8
|
import { makeTorahMemoText } from '@hebcal/rest-api/dist/esm/memo';
|
|
@@ -10,7 +11,7 @@ import { makeAnchor } from '@hebcal/rest-api/dist/esm/makeAnchor';
|
|
|
10
11
|
import { promises } from 'fs';
|
|
11
12
|
|
|
12
13
|
// DO NOT EDIT THIS AUTO-GENERATED FILE!
|
|
13
|
-
const version = '6.3.
|
|
14
|
+
const version = '6.3.3';
|
|
14
15
|
|
|
15
16
|
const vtimezoneCache = new Map();
|
|
16
17
|
const CATEGORY = {
|
|
@@ -159,7 +160,7 @@ class IcalEvent {
|
|
|
159
160
|
else if (typeof evAlarm === 'boolean' && !evAlarm) {
|
|
160
161
|
return null;
|
|
161
162
|
}
|
|
162
|
-
else if (
|
|
163
|
+
else if (isDate(evAlarm)) {
|
|
163
164
|
const alarmDt = evAlarm;
|
|
164
165
|
alarmDt.setSeconds(0);
|
|
165
166
|
return 'TRIGGER;VALUE=DATE-TIME:' + IcalEvent.makeDtstamp(alarmDt);
|
package/dist/pkgVersion.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "6.3.
|
|
1
|
+
export declare const version = "6.3.3";
|