Make a distinction between AM/PM by using the 24 hour format
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 9 Mar 2009 20:10:10 +0000 (20:10 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 9 Mar 2009 20:10:10 +0000 (20:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@751822 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/juli/OneLineFormatter.java

index 0268015..e30ebb5 100644 (file)
@@ -47,7 +47,7 @@ public class OneLineFormatter extends Formatter {
     private final SimpleDateFormat monthFormatter = new SimpleDateFormat("MM");
     private final SimpleDateFormat yearFormatter = new SimpleDateFormat("yyyy");
     private final SimpleDateFormat timeFormatter =
-        new SimpleDateFormat("hh:mm:ss");
+        new SimpleDateFormat("HH:mm:ss");
     
     private Date currentDate;
     private String currentDateString;