X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/03fdc6d67f1826b1a202eb50c284fa9202af24af..89095c898116d8c4b314c1316557a86a781ba7f7:/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