Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Amir Khan 1282 posts 2739 karma points
    Jun 06, 2019 @ 18:35
    Amir Khan
    0

    Example of generating a list with every option

    Is there an example out there somewhere of how to render every possible input / output of the calendar?

    Here's an example of an event with start date, end date, monthly recurrence until xx date on the first monday of every month.

    I'm thinking I'll have to do a switch for every possible day / date option like 1 = monday, 2 = tuesday, etc. but wondering if anyone has found a better option.

    {
    "recurrence": "4",
    "weekInterval": "1",
    "monthYearOption": "2",
    "interval": "1",
    "weekDay": "1",
    "month": "1",
    "monthOption": "1",
    "startDate": "2019-06-03 09:00",
    "endDate": "2019-06-03 10:00",
    "days": [],
    "months": [],
    "exceptDates": [],
    "recurUntil": "2019-12-02"
    

    }

Please Sign in or register to post replies

Write your reply to:

Draft