Module: Locomotive::Concerns::Site::Timezone

Extended by:
ActiveSupport::Concern
Included in:
Site
Defined in:
app/models/locomotive/concerns/site/timezone.rb

Instance Method Summary collapse

Instance Method Details

#timezoneObject


17
18
19
# File 'app/models/locomotive/concerns/site/timezone.rb', line 17

def timezone
  @timezone ||= ActiveSupport::TimeZone.new(self.timezone_name)
end