Tidied.
This commit is contained in:
parent
714b88aa93
commit
164aa47e57
1 changed files with 2 additions and 2 deletions
|
@ -164,9 +164,9 @@ class TimeAccountingsController < ApplicationController
|
|||
]
|
||||
result = []
|
||||
results.each { |row|
|
||||
row[:ticket].keys.each{|field|
|
||||
row[:ticket].keys.each { |field|
|
||||
next if row[:ticket][field].blank?
|
||||
next if !row[:ticket][field].kind_of?(ActiveSupport::TimeWithZone)
|
||||
next if !row[:ticket][field].is_a?(ActiveSupport::TimeWithZone)
|
||||
|
||||
row[:ticket][field] = row[:ticket][field].iso8601
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue