ical-generator 6.0.0 → 6.0.1-develop.1
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 +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,6 +42,10 @@ import ical from 'ical-generator';
|
|
|
42
42
|
import http from 'node:http';
|
|
43
43
|
|
|
44
44
|
const calendar = ical({name: 'my first iCal'});
|
|
45
|
+
|
|
46
|
+
// A method is required for outlook to display event as an invitation
|
|
47
|
+
calendar.method(ICalCalendarMethod.REQUEST);
|
|
48
|
+
|
|
45
49
|
const startTime = new Date();
|
|
46
50
|
const endTime = new Date();
|
|
47
51
|
endTime.setHours(startTime.getHours()+1);
|
package/package.json
CHANGED