instance method constant_utc_zone?

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

constant_utc_zone?(period)

No documentation comment.

Parameters

period req
Source
# File activesupport/lib/active_support/values/time_zone.rb, line 677
      def constant_utc_zone?(period)
        if period && period.observed_utc_offset == 0
          period.abbreviation == "UTC" || period.abbreviation == "UCT"
        end
      end

Defined in activesupport/lib/active_support/values/time_zone.rb line 677 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::TimeZone

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