Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/jekyll/core_ext.rb

Overview

Thanks, ActiveSupport!

Instance Method Summary collapse

Instance Method Details

#xmlschemaObject

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