X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/03fdc6d67f1826b1a202eb50c284fa9202af24af..273cb9e00a9d1e553d0d24bec9dcc8957a3f85a9:/app/models/note.rb diff --git a/app/models/note.rb b/app/models/note.rb index 24ba6854d..8c6137479 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -45,7 +45,7 @@ class Note < ApplicationRecord # Close a note def close self.status = "closed" - self.closed_at = Time.now.getutc + self.closed_at = Time.now.utc save end