- make Time#inspect return an iso8601 string.

This commit is contained in:
Jordan Sissel 2013-08-24 22:56:46 -07:00
parent b413416b2d
commit 5cb39ff087

View file

@ -10,6 +10,10 @@ class Time
def to_json(*args) def to_json(*args)
return iso8601(3).to_json(*args) return iso8601(3).to_json(*args)
end end
def inspect
return to_json
end
end end
# the logstash event object. # the logstash event object.