Module: Locomotive::Extensions::Site::Timezone

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

Instance Method Summary collapse

Instance Method Details

#timezoneObject



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

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