@hebcal/icalendar
Advanced tools
Comparing version 2.8.0 to 2.8.1
@@ -681,6 +681,7 @@ 'use strict'; | ||
* @param {Event} ev | ||
* @param {boolean} il | ||
* @return {string[]} | ||
*/ | ||
function getLinkAndGuid(ev) { | ||
function getLinkAndGuid(ev, il) { | ||
let link; | ||
@@ -691,3 +692,4 @@ let guid; | ||
const dtStr = encodeURIComponent(dtStr0.substring(0, ev.eventTime ? 19 : 10)); | ||
const url = ev.url(); | ||
const url0 = ev.url(); | ||
const url = url0 && il ? url0 + '?i=on' : url0; | ||
@@ -788,3 +790,3 @@ if (url) { | ||
const pubDate = getPubDate(ev, evPubDate, evDate, lastBuildDate); | ||
const linkGuid = getLinkAndGuid(ev); | ||
const linkGuid = getLinkAndGuid(ev, location.getIsrael()); | ||
const link = linkGuid[0]; | ||
@@ -919,3 +921,3 @@ const guid = linkGuid[1]; | ||
var version="2.8.0"; | ||
var version="2.8.1"; | ||
@@ -1040,7 +1042,2 @@ /* eslint-disable max-len */ | ||
minute = +minute; | ||
if (hour < 12) { | ||
hour += 12; | ||
} | ||
startDate += 'T' + dist.pad2(hour) + dist.pad2(minute) + '00'; | ||
@@ -1047,0 +1044,0 @@ endDate = startDate; |
{ | ||
"name": "@hebcal/icalendar", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"author": "Michael J. Radwin (https://github.com/mjradwin)", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"@hebcal/core": "^2.7.0", | ||
"@hebcal/rest-api": "^2.8.0", | ||
"@hebcal/rest-api": "^2.8.1", | ||
"md5": "^2.3.0" | ||
@@ -59,7 +59,7 @@ }, | ||
"@ava/babel": "^1.0.1", | ||
"@babel/core": "^7.12.8", | ||
"@babel/core": "^7.12.9", | ||
"@babel/polyfill": "^7.12.1", | ||
"@babel/preset-env": "^7.12.7", | ||
"@babel/register": "^7.12.1", | ||
"@rollup/plugin-babel": "^5.2.1", | ||
"@rollup/plugin-babel": "^5.2.2", | ||
"@rollup/plugin-commonjs": "^16.0.0", | ||
@@ -69,8 +69,8 @@ "@rollup/plugin-json": "^4.1.0", | ||
"ava": "^3.13.0", | ||
"eslint": "^7.14.0", | ||
"eslint": "^7.15.0", | ||
"eslint-config-google": "^0.14.0", | ||
"jsdoc": "^3.6.6", | ||
"jsdoc-to-markdown": "^6.0.1", | ||
"rollup": "^2.33.3" | ||
"rollup": "^2.34.2" | ||
} | ||
} |
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
53677
23
1090
Updated@hebcal/rest-api@^2.8.1