It seems like we could just add this then for a patch. It initializes the
TimeZone in the xmlFormat formatter when it is constructed.
Index:
C:/workspaces/subclipse/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter/commandline/Helper.java
===================================================================
---
C:/workspaces/subclipse/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter/commandline/Helper.java
(revision 1186)
+++
C:/workspaces/subclipse/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter/commandline/Helper.java
(working copy)
@@ -37,6 +37,10 @@
// 2003-10-13T12:54:42.957948Z
private static DateFormat xmlFormat =
new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
+ // Initialize timezone to GMT for xmlFormat
+ static {
+ xmlFormat.setTimeZone(java.util.TimeZone.getTimeZone("GMT"));
+ }
/**
* A non-instantiable class
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Fri Jan 7 03:32:17 2005