Sha256: 49ebffc545fe9b556c7cc9d8717b85fbb6007c9a41953ae248fec55fedd01a8a
Contents?: true
Size: 419 Bytes
Versions: 90
Compression:
Stored size: 419 Bytes
Contents
# frozen_string_literal: true # @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
90 entries across 90 versions & 1 rubygems