更改:时间取值
This commit is contained in:
parent
847e501dee
commit
69754d5c11
|
@ -15,8 +15,8 @@ if @result_object[:data]["Runs"].present?
|
||||||
end
|
end
|
||||||
|
|
||||||
json.status run["Status"]
|
json.status run["Status"]
|
||||||
json.time_ago time_from_now(run["Stopped"])
|
json.time_ago time_from_now(run["Updated"])
|
||||||
json.holding_time run["Stopped"]-run["Started"]
|
json.holding_time run["Updated"]-run["Started"]
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
json.runs []
|
json.runs []
|
||||||
|
|
Loading…
Reference in New Issue