class Time
Public Instance Methods
Source
# File lib/brightbox-cli/ruby_core_ext.rb, line 10 def clipped_iso8601 strftime(utc? ? "%Y-%m-%dT%H:%MZ" : "%Y-%m-%dT%H:%M") end
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