syslog_client 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/syslog_client/deal_flow.rb +1 -1
- data/lib/syslog_client/version.rb +1 -1
- metadata +1 -1
@@ -15,7 +15,7 @@ module SyslogClient
|
|
15
15
|
|
16
16
|
options.slice(:operation, :message, :operator, :result).map { |k, v| options[k] = v.to_s }
|
17
17
|
options[:deal_id] = options[:deal_id].to_i
|
18
|
-
if [Date, DateTime, Time].include?(
|
18
|
+
if [Date, DateTime, Time].include?(options[:operation_time].class)
|
19
19
|
options[:operation_time] = options[:operation_time].to_s(:db)
|
20
20
|
else
|
21
21
|
options[:operation_time] = options[:operation_time].to_s
|