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



60
61
62
# File 'lib/jekyll/core_ext.rb', line 60

def xmlschema
  strftime("%Y-%m-%dT%H:%M:%S%Z")
end