method
current_time_from_proper_timezone
v6.1.7.7 -
Show latest stable
- Class:
ActiveRecord::Timestamp::ClassMethods
current_time_from_proper_timezone()public
No documentation available.
# File activerecord/lib/active_record/timestamp.rb, line 77
def current_time_from_proper_timezone
default_timezone == :utc ? Time.now.utc : Time.now
end