@return [String] The time in an ISO-8601 date format.
# File lib/nanoc/extra/core_ext/time.rb, line 5 def to_iso8601_date self.strftime("%Y-%m-%d") end
@return [String] The time in an ISO-8601 time format.
# File lib/nanoc/extra/core_ext/time.rb, line 10 def to_iso8601_time self.getutc.strftime("%Y-%m-%dT%H:%M:%SZ") end
[Validate]
Generated with the Darkfish Rdoc Generator 2.