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)
|
def format_duration(seconds)
|
||||||
if seconds.finite?
|
if seconds.finite?
|
||||||
Time.zone.at(seconds).strftime('%H:%M:%S')
|
Time.zone.at(seconds).utc.strftime('%H:%M:%S')
|
||||||
else
|
else
|
||||||
'--:--:--'
|
'--:--:--'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue