accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1468958 - /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/monitor/servlets/GcStatusServlet.java
Date Wed, 17 Apr 2013 15:09:12 GMT
Author: ecn
Date: Wed Apr 17 15:09:12 2013
New Revision: 1468958

URL: http://svn.apache.org/r1468958
Log:
ACCUMULO-1059 applying Supun Kamburugamuva's patch to use 24-hour time

Modified:
    accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/monitor/servlets/GcStatusServlet.java

Modified: accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/monitor/servlets/GcStatusServlet.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/monitor/servlets/GcStatusServlet.java?rev=1468958&r1=1468957&r2=1468958&view=diff
==============================================================================
--- accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/monitor/servlets/GcStatusServlet.java
(original)
+++ accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/monitor/servlets/GcStatusServlet.java
Wed Apr 17 15:09:12 2013
@@ -17,6 +17,7 @@
 package org.apache.accumulo.server.monitor.servlets;
 
 import java.text.DateFormat;
+import java.text.SimpleDateFormat;
 
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
@@ -42,7 +43,7 @@ public class GcStatusServlet extends Bas
     if (status != null) {
       Table gcActivity = new Table("gcActivity", "Collection Activity");
       gcActivity.addSortableColumn("Activity");
-      gcActivity.addSortableColumn("Finished", new DateTimeType(DateFormat.MEDIUM, DateFormat.SHORT),
null);
+      gcActivity.addSortableColumn("Finished", new DateTimeType(new SimpleDateFormat("MMM
dd, yyyy kk:mm")), null);
       gcActivity.addSortableColumn("Candidates", new NumberType<Long>(), null);
       gcActivity.addSortableColumn("Deleted", new NumberType<Long>(), null);
       gcActivity.addSortableColumn("In&nbsp;Use", new NumberType<Long>(), null);



Mime
View raw message