This is the situation we are having. User is in Pacific Time zone and wants to create recurring event:
- start date: 11/22/2021
- end date: 11/29/2021
- start time: 6:30pm
- end time: 8:30pm
- recurring days: Monday, Thursday
- frequency: weekly
Fullcalendar timeZone is set to 'local', and we are converting time to UTC. So when we convert user input we have rrule object created like this:
"rrule": {
"freq": 2,
"interval": 1,
"byweekday": [
0,
3
],
"dtstart": "2021-11-23T02:30:00Z",
"until": "2021-11-30T04:30:00Z"
}
But the event gets pushed back one day: event is repeated on Sunday and Wednesday instead of Monday and Thursday.
When we create event where PT time and UTC time are 'in the same day' (e.g. from 3pm to 4pm), everything is fine.
Also, when we create non-recurring event from 6:30pm to 8:30pm, everything is fine.
Fullcalendar version is 5.9.0 and rrule version is 2.6.8.
What are we missing?