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