8784: Fix test for latest firefox.
[arvados.git] / services / api / config / initializers / time_format.rb
1 class ActiveSupport::TimeWithZone
2   remove_method :as_json
3   def as_json *args
4     strftime "%Y-%m-%dT%H:%M:%S.%NZ"
5   end
6 end
7
8 class Time
9   remove_method :as_json
10   def as_json *args
11     strftime "%Y-%m-%dT%H:%M:%S.%NZ"
12   end
13 end