Commit graph

13 commits

Author SHA1 Message Date
Shinya Maeda
23526470dd Drop allow_overflow option in TimeHelper.duration_in_numbers 2018-10-18 15:11:12 +09:00
Winnie Hellmann
786ae68367 Do not omit leading zeros in duration_in_numbers helper 2018-10-02 17:08:14 +02:00
Winnie Hellmann
ea38e832f0 Allow remaining time of scheduled jobs to overflow one day 2018-10-02 17:08:13 +02:00
gfyoung
1993a4449a Enable frozen string for app/helpers/**/*.rb
Partially addresses #47424.
2018-09-06 17:33:46 -07:00
Marcel Amirault
8aac79be53 Update time_helper.rb to fix output for exact minutes. 2018-07-10 10:49:28 +00:00
Lin Jen-Shin
21fdc1edae Cleanup the use of duration and optimize some queries 2016-08-10 23:12:02 +08:00
Lin Jen-Shin
5643cd6b49 Show wall-clock time when showing pipeline instead of:
cumulative builds time. Closes #17007
2016-08-09 18:42:42 +08:00
Rémy Coutable
71a3336dc4
Cast duration to integer in TimeHelper#time_interval_in_words
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-07-21 12:18:34 +02:00
Rémy Coutable
dd4f50b187
Fix build duration when build is not finished yet
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-07-18 16:44:10 +02:00
Annabel Dunstone
4498bb7833 Change 3600 to 1.hour 2016-07-07 16:48:10 -05:00
Annabel Dunstone
e9bd8b615b Update time format of duration 2016-07-06 14:00:20 -05:00
Kamil Trzcinski
304979f897 Allow to show the time in the future 2016-06-13 11:06:38 +01:00
Dmitriy Zaporozhets
3d9a7cdb4b
Refactor CI helpers
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-29 16:26:40 +02:00