accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [18/50] [abbrv] git commit: ACCUMULO-2294 Changed DateFormat to be like the rest
Date Sat, 14 Jun 2014 04:35:59 GMT
ACCUMULO-2294 Changed DateFormat to be like the rest

Signed-off-by: Josh Elser <elserj@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/30805fa1
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/30805fa1
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/30805fa1

Branch: refs/heads/ACCUMULO-378
Commit: 30805fa180d32bc2a1f4a8753e7a4625bf05ff32
Parents: cf8bafa
Author: Andrew George Wells <agwells0714@gmail.com>
Authored: Thu Jun 12 19:05:29 2014 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Thu Jun 12 19:14:42 2014 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/accumulo/monitor/servlets/LogServlet.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/30805fa1/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/LogServlet.java
----------------------------------------------------------------------
diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/LogServlet.java
b/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/LogServlet.java
index 2ea7881..268c883 100644
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/LogServlet.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/LogServlet.java
@@ -41,7 +41,7 @@ public class LogServlet extends BasicServlet {
   @Override
   protected void pageBody(HttpServletRequest req, HttpServletResponse resp, StringBuilder
sb) {
     boolean clear = true;
-    SimpleDateFormat fmt = new SimpleDateFormat("dd HH:mm:ss,SSSS");
+    SimpleDateFormat fmt = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss,SSSS");
     Table logTable = new Table("logTable", "Recent&nbsp;Logs");
     logTable.addSortableColumn("Time", new DateTimeType(fmt), null);
     logTable.addSortableColumn("Application");


Mime
View raw message