class method
self.local_time
Ruby on Rails 3.2.22.5
Since v3.0.20 Last seen in v4.0.13Signature
self.local_time(*args)
Wraps class method time_with_datetime_fallback with utc_or_local set to :local.
Parameters
-
argsrest
Source
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 40
def local_time(*args)
time_with_datetime_fallback(:local, *args)
end
Defined in activesupport/lib/active_support/core_ext/time/calculations.rb line 40
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Time