instance method
system_local_time?
Ruby on Rails 8.0.4
Since v7.2.3 Last seen in v8.0.4 PrivateAvailable in: v7.2.3 v8.0.4
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