X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/619ac4c5b2fbdbc610007376ee11e3921e475520..7912b7620f236f2fa8ae1ccbffd3a62f521bc99d:/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