From 4a3ba3e5f261eb09e6b2b4fd44373e7a1c454a72 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 22 May 2020 09:08:09 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/models/concerns/noteable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/concerns/noteable.rb') diff --git a/app/models/concerns/noteable.rb b/app/models/concerns/noteable.rb index 933a0b167e2..183b902dd37 100644 --- a/app/models/concerns/noteable.rb +++ b/app/models/concerns/noteable.rb @@ -24,7 +24,7 @@ module Noteable # The timestamp of the note (e.g. the :created_at or :updated_at attribute if provided via # API call) def system_note_timestamp - @system_note_timestamp || Time.now # rubocop:disable Gitlab/ModuleWithInstanceVariables + @system_note_timestamp || Time.current # rubocop:disable Gitlab/ModuleWithInstanceVariables end attr_writer :system_note_timestamp -- cgit v1.2.1