My locality is GMT -04:00 and I need the start and end of the particular event I've clicked. I thought I could use clickInfo.event._instance.range for that purpose, but the time is 4 hours off. Notice the difference between clickInfo.event.start (which is correct) and clickInfo.event._instance.range.start (which is GMT -08:00, although it purports to be GMT -04:00). Is it being localized twice? Or am I doing something wrong? I would have used clickInfo.event.start, but clickInfo.event.end is null.
Recreation
Source Data
Calendar Options
Handle Date Click
Bug?
My locality is GMT -04:00 and I need the start and end of the particular event I've clicked. I thought I could use
clickInfo.event._instance.range
for that purpose, but the time is 4 hours off. Notice the difference betweenclickInfo.event.start
(which is correct) andclickInfo.event._instance.range.start
(which is GMT -08:00, although it purports to be GMT -04:00). Is it being localized twice? Or am I doing something wrong? I would have usedclickInfo.event.start
, butclickInfo.event.end
isnull
.Console Output