Class: Microdata::Schema::Date

Inherits:
Date
  • Object
show all
Defined in:
lib/microdata/schema/data_type/date.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



4
5
6
7
# File 'lib/microdata/schema/data_type/date.rb', line 4

def to_s
  # DateTime  The end date and time of the item (in ISO 8601 date format).
  self.to_iso8601
end