class Date

Thanks, ActiveSupport!

Public Instance Methods

xmlschema() click to toggle source

Converts datetime to an appropriate format for use in XML

# File lib/tigefa/core_ext.rb, line 60
def xmlschema
  strftime("%Y-%m-%dT%H:%M:%S%Z")
end