diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-05-03 09:25:13 +0200 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-05-04 08:39:06 +0200 |
commit | 5d4183e58d08a03dfc73c4bf1705aa926270052d (patch) | |
tree | 69b42d25ac19c4fbd93fc6b0a1e23728dc8b2726 /lib/api/api.rb | |
parent | 0f976727c4325e7837a051ae98dbe4215b12f6e0 (diff) | |
download | gitlab-ce-5d4183e58d08a03dfc73c4bf1705aa926270052d.tar.gz |
Convert seconds to minutes and hours on chat notifationszj-chat-message-pretty-time
In the pipeline message, the duration of the pipeline was shown as:
> gitlab-org/gitlab-ee: Pipeline #8002259 of master branch by Douwe Maan
failed in 8612 seconds
But this many seconds only gave me a clue how long the pipeline took,
so now this will be shown as something like: 02:20:12 which gives a much
better measure of time.
Diffstat (limited to 'lib/api/api.rb')
0 files changed, 0 insertions, 0 deletions