task_helper: fix duration formatting
If we don't convert the duration to utc, it starts at 01:00:00
This commit is contained in:
parent
f1875e9c25
commit
4d9cb0bb7a
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class ProgressReport
|
|||
|
||||
def format_duration(seconds)
|
||||
if seconds.finite?
|
||||
Time.zone.at(seconds).strftime('%H:%M:%S')
|
||||
Time.zone.at(seconds).utc.strftime('%H:%M:%S')
|
||||
else
|
||||
'--:--:--'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue