mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -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)
|
||||
return iso8601(3).to_json(*args)
|
||||
end
|
||||
|
||||
def inspect
|
||||
return to_json
|
||||
end
|
||||
end
|
||||
|
||||
# the logstash event object.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue