Sha256: eead7a20d79f19b642c30040da219dcbd505e0973d61226e5b7eff7788aa5475
Contents?: true
Size: 480 Bytes
Versions: 43
Compression:
Stored size: 480 Bytes
Contents
class Time # Returns a shortened version of ISO 8601 omitting the seconds and timezone # information. # # @note This output is probably in error and should be updated however the # missing characters will reformat a number of columns and pages of output. # # @return [String] A clipped form of date, ISO 8601 without seconds # def clipped_iso_8601 strftime(self.utc? ? "%Y-%m-%dT%H:%MZ" : "%Y-%m-%dT%H:%M") end def to_s clipped_iso_8601 end end
Version data entries
43 entries across 43 versions & 1 rubygems