lib/ougai/formatters/bunyan.rb in ougai-1.5.0 vs lib/ougai/formatters/bunyan.rb in ougai-1.5.2
- old
+ new
@@ -47,10 +47,10 @@
private
def dump(data)
return data unless @jsonize
- data[:time] = data[:time].iso8601(3)
+ data[:time] = format_datetime(data[:time])
str = JSON.generate(data)
str << "\n" if @with_newline
str
end
end