X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/619ac4c5b2fbdbc610007376ee11e3921e475520..6e6d806560f128d18d9f0b77df882f561d809c08:/app/models/issue.rb diff --git a/app/models/issue.rb b/app/models/issue.rb index 207af63c4..54947be30 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -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