ical-generator 11.1.3-develop.4 → 11.1.3-develop.5
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/README.md +16 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -2
- package/dist/index.d.mts +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/calendar.ts +3 -1
- package/src/event.ts +3 -1
package/package.json
CHANGED
package/src/calendar.ts
CHANGED
|
@@ -512,7 +512,9 @@ export default class ICalCalendar {
|
|
|
512
512
|
/**
|
|
513
513
|
* Sets the time zone to be used in this calendar file for all times of all
|
|
514
514
|
* events. Please note that if the time zone is set, ical-generator assumes
|
|
515
|
-
* that all times are already in the correct time zone.
|
|
515
|
+
* that all times are already in the correct time zone. For a native
|
|
516
|
+
* `Date`, this means the local time of the machine running the code is
|
|
517
|
+
* used, so the output depends on the server's time zone. Alternatively, a
|
|
516
518
|
* `moment-timezone` or a Luxon object can be passed with `setZone`,
|
|
517
519
|
* ical-generator will then set the time zone itself.
|
|
518
520
|
*
|
package/src/event.ts
CHANGED
|
@@ -1472,7 +1472,9 @@ export default class ICalEvent {
|
|
|
1472
1472
|
* is used.
|
|
1473
1473
|
*
|
|
1474
1474
|
* Please note that if the time zone is set, ical-generator assumes
|
|
1475
|
-
* that all times are already in the correct time zone.
|
|
1475
|
+
* that all times are already in the correct time zone. For a native
|
|
1476
|
+
* `Date`, this means the local time of the machine running the code is
|
|
1477
|
+
* used, so the output depends on the server's time zone. Alternatively,
|
|
1476
1478
|
* a `moment-timezone` or a Luxon object can be passed with `setZone`,
|
|
1477
1479
|
* ical-generator will then set the time zone itself.
|
|
1478
1480
|
*
|