Use en_US as locale for creationdate in WebdavServlet.
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 11 Jul 2011 19:06:15 +0000 (19:06 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 11 Jul 2011 19:06:15 +0000 (19:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1145296 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/servlets/WebdavServlet.java
webapps/docs/changelog.xml

index 04f5917..1430311 100644 (file)
@@ -200,7 +200,7 @@ public class WebdavServlet
      * Simple date format for the creation date ISO representation (partial).
      */
     protected static final SimpleDateFormat creationDateFormat =
-        new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
+        new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'", Locale.US);
 
 
      /**
index 8033734..0400137 100644 (file)
         Log a failure if access log file cannot be opened. (kkolinko)
       </fix>
       <fix>
-        Always use en_US as locale for timestamps in ExtendedAccessLogValve.
+        Use en_US as locale for timestamps in ExtendedAccessLogValve.
         (rjung)
       </fix>
+      <fix>
+        Use en_US as locale for creationdate in WebdavServlet. (rjung)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">