diff --git a/app/models/working_hour.rb b/app/models/working_hour.rb index 5874af20d..b37be4eb1 100644 --- a/app/models/working_hour.rb +++ b/app/models/working_hour.rb @@ -50,7 +50,8 @@ class WorkingHour < ApplicationRecord end def open_now? - open_at?(Time.zone.now) + inbox_time = Time.zone.now.in_time_zone(inbox.timezone) + open_at?(inbox_time) end def closed_now?