@hebcal/icalendar
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -1,2 +0,2 @@ | ||
/*! @hebcal/icalendar v5.0.0 */ | ||
/*! @hebcal/icalendar v5.0.1 */ | ||
'use strict'; | ||
@@ -9,3 +9,3 @@ | ||
const version="5.0.0"; | ||
const version="5.0.1"; | ||
@@ -98,3 +98,3 @@ const VTIMEZONE = {}; | ||
const date = IcalEvent.formatYYYYMMDD(ev.getDate().greg()); | ||
this.startDate = date; | ||
this.startDate = this.isoDateOnly = date; | ||
this.dtargs = ''; | ||
@@ -143,3 +143,3 @@ this.transp = 'TRANSPARENT'; | ||
this.subj = subj; | ||
this.category = ev.category || CATEGORY[restApi.getEventCategories(ev)[0]]; | ||
this.category = ev.category || CATEGORY[restApi.getEventCategories(ev)?.[0]]; | ||
} | ||
@@ -177,3 +177,3 @@ | ||
const digest = murmurhash3.murmur32HexSync(this.ev.getDesc()); | ||
let uid = `hebcal-${this.startDate}-${digest}`; | ||
let uid = `hebcal-${this.isoDateOnly}-${digest}`; | ||
if (this.timed && options.location) { | ||
@@ -180,0 +180,0 @@ const loc = options.location; |
{ | ||
"name": "@hebcal/icalendar", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"author": "Michael J. Radwin (https://github.com/mjradwin)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
34886