method
xmlschema
xmlschema(fraction_digits = 0)
public
Hide source
# File activesupport/lib/active_support/time_with_zone.rb, line 134 def xmlschema(fraction_digits = 0) fraction = if fraction_digits > 0 (".%06i" % time.usec)[0, fraction_digits + 1] end "#{time.strftime("%Y-%m-%dT%H:%M:%S")}#{fraction}#{formatted_offset(true, 'Z')}" end