[feat]Properly add timezone to events starttime and endtime; set now to be the time in conference timezone instead of the user s time zone in fullcalendar
This commit is contained in:
parent
03b12eafb0
commit
6777ffb0bb
6 changed files with 25 additions and 9 deletions
|
|
@ -94,6 +94,7 @@ class SchedulesController < ApplicationController
|
|||
|
||||
@rooms = FullCalendarFormatter.rooms_to_resources(@conference.venue.rooms) if @conference.venue
|
||||
@event_schedules = FullCalendarFormatter.event_schedules_to_resources(event_schedules)
|
||||
@now = Time.now.in_time_zone(@conference.timezone).strftime('%FT%T%:z')
|
||||
@scheduler_license_key = Rails.configuration.fullcalendar[:license_key]
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue