lib/fluent/plugin/out_cassandra_driver.rb in fluent-plugin-cassandra-driver-0.0.16 vs lib/fluent/plugin/out_cassandra_driver.rb in fluent-plugin-cassandra-driver-0.0.17
- old
+ new
@@ -96,9 +96,11 @@
value = value.to_s
when :integer
value = value.to_i
when :timeuuid
value = ::Cassandra::Uuid::Generator.new.at(Time.parse(value))
+ when :time
+ value = Time.parse(value)
else
end
value
end