Author: scottbw
Date: Fri Apr 12 08:08:22 2013
New Revision: 1467195

URL: http://svn.apache.org/r1467195
Log:
Fix for WOOKIE-412, where illegal characters would cause issues on Windows due 
to timezone info in file prefix. Thanks to Matthias Niederhausen for the patch.

Modified:
    wookie/trunk/src/org/apache/wookie/util/WidgetFileUtils.java

Modified: wookie/trunk/src/org/apache/wookie/util/WidgetFileUtils.java
URL: 
http://svn.apache.org/viewvc/wookie/trunk/src/org/apache/wookie/util/WidgetFileUtils.java?rev=1467195&r1=1467194&r2=1467195&view=diff
==============================================================================
--- wookie/trunk/src/org/apache/wookie/util/WidgetFileUtils.java (original)
+++ wookie/trunk/src/org/apache/wookie/util/WidgetFileUtils.java Fri Apr 12 
08:08:22 2013
@@ -128,7 +128,7 @@ public class WidgetFileUtils {
                // We'll use the current system time to prefix files that
                // overwrite existing files
                //
-               DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH.mm.SZ");
+               DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH.mm.ss");
                
                //
                // Create candidate target


Reply via email to