Method: ActiveSupport::TimeWithZone#iso8601
- Defined in:
- activesupport/lib/active_support/time_with_zone.rb
#iso8601 ⇒ Object
151 152 153 |
# File 'activesupport/lib/active_support/time_with_zone.rb', line 151 def xmlschema(fraction_digits = 0) "#{time.strftime(PRECISIONS[fraction_digits.to_i])}#{formatted_offset(true, 'Z')}" end |