HBASE-25550 More readable Competition Time (#2925)
This commit is contained in:
parent
6fd23b2a11
commit
2a4e0382d2
|
@ -117,7 +117,13 @@ String parent = "";
|
|||
<td><% task.getStatus() %>
|
||||
(since <% StringUtils.formatTimeDiff(now, task.getStatusTime()) %>
|
||||
ago)</td>
|
||||
<td><% task.getCompletionTimestamp() < 0 ? task.getState() : new Date(task.getCompletionTimestamp()) %></td>
|
||||
<td>
|
||||
<%if task.getCompletionTimestamp() < 0 %>
|
||||
<% task.getState() %>
|
||||
<%else>
|
||||
<% new Date(task.getCompletionTimestamp()) %> (since <% StringUtils.formatTimeDiff(now, task.getCompletionTimestamp()) %> ago)
|
||||
</%if>
|
||||
</td>
|
||||
</tr>
|
||||
</%for>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue