8784: Fix test for latest firefox.
[arvados.git] / services / api / config / initializers / time_format.rb
index ee7c91fffdffb10176ad3f3d47b26c83f9816e7b..b2a2448a8e2b2f7b664c2cf32f43d84afa1afd97 100644 (file)
@@ -1,10 +1,12 @@
 class ActiveSupport::TimeWithZone
+  remove_method :as_json
   def as_json *args
     strftime "%Y-%m-%dT%H:%M:%S.%NZ"
   end
 end
 
 class Time
+  remove_method :as_json
   def as_json *args
     strftime "%Y-%m-%dT%H:%M:%S.%NZ"
   end