]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/traces_controller.rb
Merge remote-tracking branch 'upstream/pull/3523'
[rails.git] / app / controllers / traces_controller.rb
index a9dbc85396cb675381b074c88cfe8503e020fbe1..741819f65a167c3c8a149955f0d742f19a343a47 100644 (file)
@@ -119,7 +119,7 @@ class TracesController < ApplicationController
                          :description => params[:trace][:description],
                          :visibility => params[:trace][:visibility],
                          :inserted => false, :user => current_user,
-                         :timestamp => Time.now.getutc)
+                         :timestamp => Time.now.utc)
       @trace.valid?
       @trace.errors.add(:gpx_file, "can't be blank")
 
@@ -266,7 +266,7 @@ class TracesController < ApplicationController
       :visibility => visibility,
       :inserted => false,
       :user => current_user,
-      :timestamp => Time.now.getutc,
+      :timestamp => Time.now.utc,
       :file => file
     )