instance method active_support_local_zone

Ruby on Rails 7.2.3.2

Since v7.2.3.2 Last seen in v8.0.5.1 Private — implementation detail, not part of the public API

Available in: v7.2.3.2 v8.0.5.1

Signature

active_support_local_zone()

No documentation comment.

Source
# File activesupport/lib/active_support/core_ext/time/compatibility.rb, line 32
    def active_support_local_zone
      @@active_support_local_zone = nil if @@active_support_local_tz != ENV["TZ"]
      @@active_support_local_zone ||=
        begin
          @@active_support_local_tz = ENV["TZ"]
          Time.new.zone
        end
    end

Defined in activesupport/lib/active_support/core_ext/time/compatibility.rb line 32 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Time

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close