]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/traces_controller.rb
Fix rubocop Rails/TimeZone warnings
[rails.git] / app / controllers / api / traces_controller.rb
index aa8a0600071c9c59546091011f568552f51d4767..6a0ec81ec72d82f698beebecd5773c92ede80ce0 100644 (file)
@@ -108,7 +108,7 @@ module Api
         :visibility => visibility,
         :inserted => false,
         :user => current_user,
         :visibility => visibility,
         :inserted => false,
         :user => current_user,
-        :timestamp => Time.now.getutc,
+        :timestamp => Time.now.utc,
         :file => file
       )
 
         :file => file
       )