How does event_calendar determines time zone? I apologize if I missed an already discussed thread but I cannot seem to find a way to do this. Is there a best practice way of doing this with event_calendar?
p.s. Locally it respects my timezone but not on server. I presume it is looking at server time !?! On Application.rb I set (config.time_zone = "Pacific Time (US & Canada)")
Since I haven't found a better way I forked this project and changed Date.today to Time.zone.today where appropiate. It has been working for my scenario.
How does event_calendar determines time zone? I apologize if I missed an already discussed thread but I cannot seem to find a way to do this. Is there a best practice way of doing this with event_calendar?
All I found was this older discussion that is somewhat related. Has this changed? https://github.com/elevation/event_calendar/issues/4
Thank you.
p.s. Locally it respects my timezone but not on server. I presume it is looking at server time !?! On Application.rb I set
(config.time_zone = "Pacific Time (US & Canada)")
EDIT: More details, also asked here: http://stackoverflow.com/questions/9123711/event-calendar-time-zone