Author: kwall
Date: Fri Jun 29 07:48:22 2012
New Revision: 1355255

URL: http://svn.apache.org/viewvc?rev=1355255&view=rev
Log:
QPID-4094: Qpid MC misformats JMX notification dates

Fix date format string so date is properly formatted to the 24 hour clock.

Modified:
    
qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/NotificationObject.java

Modified: 
qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/NotificationObject.java
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/NotificationObject.java?rev=1355255&r1=1355254&r2=1355255&view=diff
==============================================================================
--- 
qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/NotificationObject.java
 (original)
+++ 
qpid/trunk/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/model/NotificationObject.java
 Fri Jun 29 07:48:22 2012
@@ -35,7 +35,7 @@ public class NotificationObject
     private String  _message;
     private Object  _source;       
     private String  _type;         // INFO, WARN, etc
-    private static final SimpleDateFormat dateFormat = new 
SimpleDateFormat("hh:mm:ss dd/MM/yy z");
+    private static final SimpleDateFormat dateFormat = new 
SimpleDateFormat("HH:mm:ss dd/MM/yy z");
     
     public NotificationObject(long seqNo, Date timeStamp, String message, 
Object source, String type)
     {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to