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



49
50
51
# File 'lib/jekyll/core_ext.rb', line 49

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