ugh timezones

This commit is contained in:
Michael Ball 2020-07-29 22:21:26 -07:00
parent 7181b05a83
commit 899d973020

View file

@ -700,7 +700,7 @@ class Conference < ApplicationRecord
# Returns the current day if it is a day of the schedule or nil otherwise
def current_conference_day
day = Time.now.in_time_zone(timezone).today
day = Time.find_zone(timezone).today
day if (start_date..end_date).cover? day
end