Sha256: a8eaf7175d970229edd2495e96ea8b936e6f632ee754694fbd751b5c30beee41
Contents?: true
Size: 364 Bytes
Versions: 37
Compression:
Stored size: 364 Bytes
Contents
module Locomotive::Steam module Middlewares # Set the timezone according to the settings of the site # class Timezone < ThreadSafe include Helpers def _call timezone = site.try(:timezone) log "Timezone: #{timezone.name}" Time.use_zone(timezone) do self.next end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems