mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
- make Time#inspect return an iso8601 string.
This commit is contained in:
parent
b413416b2d
commit
5cb39ff087
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue