Method: ActiveSupport::TimeWithZone#to_s
- Defined in:
-
lib/active_support/time_with_zone.rb,
lib/active_support/core_ext/time/deprecated_conversions.rb
:nodoc:
210 211 212 |
# File 'lib/active_support/time_with_zone.rb', line 210 def to_s "#{time.strftime("%Y-%m-%d %H:%M:%S")} #{formatted_offset(false, 'UTC')}" # mimicking Ruby Time#to_s format end |