Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for additional properties in calendar and event properties #46

Closed
joariasl opened this issue Feb 7, 2018 · 1 comment
Closed

Comments

@joariasl
Copy link

joariasl commented Feb 7, 2018

Add the support for passing direct property params to an event or calendar. For add more possibilities of the standard: https://tools.ietf.org/html/rfc5545

For example:

var events = [
    {
        uid: '-UnitID-123456',
        title: 'Event 123456',
        created: '',// Not implemented yet
        start: [2018, 1, 15, 2, 30],
        end: [2018, 1, 17, 2, 30],
        description: 'Event description',
        additionals: [
           // For add in VEVENT: 'CREATED:20171019T171332Z'
           {
               attribute: 'CREATED',
               value: '20171019T171332Z'
           } 
    }
];
var properties = {
    productId: `-//Product//Unique-ID-1//EN`
};
ics.createCalendar(events, properties, callback);
@lukesolar
Copy link

lukesolar commented Oct 25, 2022

Have calendar properties been implemented or considered?
I'm looking for a way to add:
BEGIN:VCALENDAR
...
NAME:Testing
X-WR-CALNAME:Testing
DESCRIPTION:Testing
X-WR-CALDESC:Testing

...
This way the user does not need to invent a name for the calendar themselves when they add it to Google Calendar (an awkward URL name is the default) and Apple Calendar (requires input).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants