]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node.rb
Merge remote-tracking branch 'upstream/pull/3484'
[rails.git] / app / models / node.rb
index 2ae62d68482701ea48b933fa05fa837ab1d125db..c2443974d822474f84917330a508a82d94fa1ba9 100644 (file)
@@ -236,7 +236,7 @@ class Node < ApplicationRecord
   private
 
   def save_with_history!
-    t = Time.now.getutc
+    t = Time.now.utc
 
     self.version += 1
     self.timestamp = t