method
current_time_from_proper_timezone
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::Timestamp
current_time_from_proper_timezone()private
No documentation available.
# File activerecord/lib/active_record/timestamp.rb, line 120
def current_time_from_proper_timezone
self.class.default_timezone == :utc ? Time.now.utc : Time.now
end