This is an automated email from the ASF dual-hosted git repository.

stack pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new d07d181  HBASE-25165 Change 'State time' in UI so sorts (#2508)
d07d181 is described below

commit d07d181ea4a9da316659bb21fd4fffc979b5f77a
Author: Michael Stack <[email protected]>
AuthorDate: Thu Oct 8 09:10:30 2020 -0700

    HBASE-25165 Change 'State time' in UI so sorts (#2508)
    
    Display startcode in iso8601.
    
    Signed-off-by: Nick Dimiduk <[email protected]>
---
 .../org/apache/hadoop/hbase/tmpl/master/RegionServerListTmpl.jamon      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionServerListTmpl.jamon
 
b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionServerListTmpl.jamon
index a3067ee..5878361 100644
--- 
a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionServerListTmpl.jamon
+++ 
b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionServerListTmpl.jamon
@@ -121,7 +121,7 @@ Arrays.sort(serverNames);
 </%java>
 <tr>
     <td><& serverNameLink; serverName=serverName; &></td>
-    <td><% new Date(startcode) %></td>
+    <td><% java.time.Instant.ofEpochMilli(startcode) %></td>
     <td><% TraditionalBinaryPrefix.long2String(lastContact, "s", 1) %></td>
     <td><% version %></td>
     <td><% String.format("%,.0f", requestsPerSecond) %></td>

Reply via email to