method
xmlschema
xmlschema(fraction_digits = 0)
public
Hide source
# File activesupport/lib/active_support/time_with_zone.rb, line 110 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