Sha256: 52ff7d532a730cb41425dd88ce9d0ad20c4888ba775142833065e7066c82e184
Contents?: true
Size: 388 Bytes
Versions: 31
Compression:
Stored size: 388 Bytes
Contents
# @api private module Nanoc::Extra::TimeExtensions # @return [String] The time in an ISO-8601 date format. def __nanoc_to_iso8601_date getutc.strftime('%Y-%m-%d') end # @return [String] The time in an ISO-8601 time format. def __nanoc_to_iso8601_time getutc.strftime('%Y-%m-%dT%H:%M:%SZ') end end # @api private class Time include Nanoc::Extra::TimeExtensions end
Version data entries
31 entries across 31 versions & 1 rubygems