Class: Date
- Inherits:
-
Object
- Object
- Date
- Defined in:
- lib/jekyll/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
27 28 29 |
# File 'lib/jekyll/core_ext.rb', line 27 def xmlschema strftime("%Y-%m-%dT%H:%M:%S%Z") end |