When setting timezone to australia/sydney event in day calendar shows 30 mins late
9 years ago.
i use moment js to arrange time
my calendar config:
$scope.calendarConfig = {
startDate: moment().utcOffset(11).format('YYYY-MM-DD') }
in my database there is different field for time and date so i use this:
moment.unix(unixTime).utcOffset(11).format('YYYY-MM-DD') +'T'+moment.unix(unixTime).utcOffset(11).format('HH:mm:ss'); // this create time format similar to that of
new DayPilot.Date(date) ;
what happens is if i remove utcOffset(11) from above date conversion . it works fine but when i define timezone like that
everything in a event calendar shows 30 mins late that is : if there's a event at 1:30 pm then event is shown at calendar in 2pm cell column.
DayPilot