We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f7a483 + e423804 commit 8503e46Copy full SHA for 8503e46
lib/fluent/plugin/in_sql.rb
@@ -92,6 +92,8 @@ def read_attribute_for_serialization(n)
92
v = send(n)
93
if v.respond_to?(:to_msgpack)
94
v
95
+ elsif v.is_a? Time
96
+ v.strftime('%Y-%m-%d %H:%M:%S.%6N%z')
97
else
98
v.to_s
99
end
0 commit comments