angular-ui / ui-calendar

A complete AngularJS directive for the Arshaw FullCalendar.
http://angular-ui.github.io/ui-calendar/
MIT License
1.49k stars 729 forks source link

drag and drop changes timezone #309

Open brenthcodemagnus opened 9 years ago

brenthcodemagnus commented 9 years ago

I create a new event at 9am to 10 am and based on the logs, the timezone is gmt +0800

From Sat Aug 29 2015 09:00:00 GMT+0800 To Sat Aug 29 2015 10:00:00 GMT+0800

but when I drag or drop, the event parameter in the callback has start times and end times in different timezones:

From Fri Aug 28 2015 09:00:00 GMT+0000 To Fri Aug 28 2015 10:00:00 GMT+0000

what am I missing here?