instance method
system_local_time?
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 APIAvailable in: v7.2.3.2 v8.0.5.1
Signature
system_local_time?()
No documentation comment.
Source
# File activesupport/lib/active_support/core_ext/time/compatibility.rb, line 22
def system_local_time?
if ::Time.equal?(self.class)
zone = self.zone
String === zone &&
(zone != "UTC" || active_support_local_zone == "UTC")
end
end
Defined in activesupport/lib/active_support/core_ext/time/compatibility.rb line 22
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Time