svn commit: r1799286 - /tomcat/tc8.5.x/trunk/test/org/apache/juli/TestFileHandler.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1799286 - /tomcat/tc8.5.x/trunk/test/org/apache/juli/TestFileHandler.java

markt
Author: markt
Date: Mon Jun 19 22:21:26 2017
New Revision: 1799286

URL: http://svn.apache.org/viewvc?rev=1799286&view=rev
Log:
Get test working on Windows that doesn't like ':' in file names.

Modified:
    tomcat/tc8.5.x/trunk/test/org/apache/juli/TestFileHandler.java

Modified: tomcat/tc8.5.x/trunk/test/org/apache/juli/TestFileHandler.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/test/org/apache/juli/TestFileHandler.java?rev=1799286&r1=1799285&r2=1799286&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/test/org/apache/juli/TestFileHandler.java (original)
+++ tomcat/tc8.5.x/trunk/test/org/apache/juli/TestFileHandler.java Mon Jun 19 22:21:26 2017
@@ -59,7 +59,7 @@ public class TestFileHandler {
 
         Calendar date = Calendar.getInstance();
         date.add(Calendar.DAY_OF_MONTH, -3);
-        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
+        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH-mm-ss.SSS");
         File file = new File(logsDir, PREFIX_1 + formatter.format(date.getTime()) + SUFIX_1);
         file.createNewFile();
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]