Class: Date
- Inherits:
-
Object
- Object
- Date
- Defined in:
- lib/moft/core_ext.rb
Overview
Thanks, ActiveSupport!
Instance Method Summary collapse
-
#xmlschema ⇒ Object
Converts datetime to an appropriate format for use in XML.
Instance Method Details
#xmlschema ⇒ Object
Converts datetime to an appropriate format for use in XML
49 50 51 |
# File 'lib/moft/core_ext.rb', line 49 def xmlschema strftime("%Y-%m-%dT%H:%M:%S%Z") end |