Skip to content
This repository has been archived by the owner on Aug 15, 2020. It is now read-only.

Improve README example #31

Open
rlaferla opened this issue Mar 3, 2015 · 0 comments
Open

Improve README example #31

rlaferla opened this issue Mar 3, 2015 · 0 comments

Comments

@rlaferla
Copy link

rlaferla commented Mar 3, 2015

Please add the requires() line and also explain the argument to VEvent. Is it a UUID? Is it required to generate a unique id or is it optional? Perhaps the constructor could generate one and then you could query the object for the id?

var event = new icalendar.VEvent('cded25be-3d7a-45e2-b8fe-8d10c1f8e5a9');
event.setSummary("Test calendar event");
event.setDate(new Date(2011,11,1,17,0,0), new Date(2011,11,1,18,0,0));
event.toString();
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant