# 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