Hi,
I got one hour offset for the "start time" and "end time", and one day offset for the "until date", Here is my code:
newEvent = new CalendarEvent({
start: {
hour: 8,
minute: 30,
tz: 'Pacific/Auckland',
},
end: {
hour: 17,
minute: 0,
tz: 'Pacific/Auckland',
},
recurrences: [
new RRule({
freq: RRule.WEEKLY,
byweekday: [],
dtstart: new Date(),
until: new Date(),
tzid: 'Pacific/Auckland',
}),
],
});
The outcome of the "event.toText({ tz: 'Pacific/Auckland' })" is "7:30 AM to 4:00 PM every week until September 2, 2021"
But what I was expecting the result is "8:30 AM to 5:00 PM every week until September 3, 2021"
I would really appreciate if you could help have a look this issue.
Thank you in advance
Percy
Hi,
I got one hour offset for the "start time" and "end time", and one day offset for the "until date", Here is my code:
The outcome of the "event.toText({ tz: 'Pacific/Auckland' })" is "7:30 AM to 4:00 PM every week until September 2, 2021"
But what I was expecting the result is "8:30 AM to 5:00 PM every week until September 3, 2021"
I would really appreciate if you could help have a look this issue.
Thank you in advance
Percy