lib/logstash/time.rb
# Return a string that is this time in ISO8601 format.
Return a string that is this time in ISO8601 format.
Return a string that is this time in ISO8601 format .
def to_iso8601
    tz = self.utc? ? "Z" : self.strftime("%z")
    return "%s.%06d%s" % [self.strftime(ISO8601), self.tv_usec, tz]
  end
def to_iso8601 tz = self . utc? ? "Z" : self . strftime ( "%z" ) return "%s.%06d%s" % [ self . strftime ( ISO8601 ) , self . tv_usec , tz ] end
Return a string that is this time in ISO8601 format.
Return a string that is this time in ISO8601 format .
# zero-pad tv_usec so the time string is sortable.