My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2212: AllDay slot returns date as UTC even when using timezone:local
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Jul 2014


Sign in to add a comment
 
Reported by ateista@gmail.com, Jul 22, 2014
I am not sure if this is a bug but when using "timezone:local" the "select" and "dayClick" callback return the start date as UTC if I click on the allDay slot. If I click on a normal slot, it returns the start date as local time. Should not the daySlot return the date on the same timezone?

This behavior is visible here: http://jsfiddle.net/xZuT3/1/


leo
Jul 23, 2014
Project Member #1 adamrs...@gmail.com
that's because they are "Ambiguously-timed Moments" as described here:
http://arshaw.com/fullcalendar/docs/utilities/Moment/

Internally they are stored in UTC. That is what you are seeing.
Status: Done
Sign in to add a comment

Powered by Google Project Hosting