Sha256: fb702e9ff823ed7c2ce73fde6d5fd485785d7521eb3d243aaab55f4e4e7b8439
Contents?: true
Size: 346 Bytes
Versions: 21
Compression:
Stored size: 346 Bytes
Contents
# frozen_string_literal: true module NeetoCommonsBackend module Initializers class << self def datetime # Ruby uses local time in .to_time conversions. # Force local time to be UTC always in any environment. # Ref: https://bugs.ruby-lang.org/issues/14850 ENV["TZ"] = "UTC" end end end end
Version data entries
21 entries across 21 versions & 1 rubygems