]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/issue.rb
Merge remote-tracking branch 'upstream/pull/4478'
[rails.git] / app / models / issue.rb
index 207af63c4b1481ad79179d671c390cd9b3d178e5..54947be303d569e76691e7959b17b7568a7e69ab 100644 (file)
@@ -70,7 +70,7 @@ class Issue < ApplicationRecord
     event :resolve do
       transitions :from => :open, :to => :resolved
       after do
-        self.resolved_at = Time.now.getutc
+        self.resolved_at = Time.now.utc
       end
     end