summaryrefslogtreecommitdiff
path: root/app/models/concerns/statuseable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/statuseable.rb')
-rw-r--r--app/models/concerns/statuseable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/statuseable.rb b/app/models/concerns/statuseable.rb
index 750f937b724..9f73c5c9467 100644
--- a/app/models/concerns/statuseable.rb
+++ b/app/models/concerns/statuseable.rb
@@ -87,7 +87,7 @@ module Statuseable
if started_at && finished_at
finished_at - started_at
elsif started_at
- Time.now - started_at
+ Gitlab::Utils.now - started_at
end
end
end