I have a RoR app using Fullcalendar – running on Heroku.
The calendar view shows an event as 9am – 10am. When I view a list of the time, I get 4p – 7pm.
Does it has something to do with timezone?
I tried setting ignoreTimeZone true and then false:
$(document).ready ->
$('#calendar').fullCalendar
editable: true,
ignoreTimezone: true,
header:
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
defaultView: 'month',
height: 500,
slotMinutes: 30,
Thanks for the help!
Here is an example – the database record has start_at 16:00 (4pm) but the Fullcallendar view shows it starting at 9am
The following fixed the problem:
$ heroku config:add TZ=America/Denver