xmlschema(fraction_digits = 0) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/time_with_zone.rb, line 108
    def xmlschema(fraction_digits = 0)
      fraction = if fraction_digits > 0
        ".%i" % time.usec.to_s[0, fraction_digits]
      end

      "#{time.strftime("%Y-%m-%dT%H:%M:%S")}#{fraction}#{formatted_offset(true, 'Z')}"
    end
Register or log in to add new notes.