HBASE-25550 More readable Competition Time (#2925)
This commit is contained in:
parent
355bccbd0b
commit
ce9c9b453f
|
@ -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