[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Patch for svnClientAdapter: log message date parsing.

From: Jennifer Bevan <jen_at_alouysius.net>
Date: 2004-04-03 08:39:18 CEST

Hi,
the command line log message date parser in svnClientAdapter was incorrectly
setting dates at 12:xx PM to 12:xx AM. The following patch fixes this
problem
for me (see subversion r4332, r4344, r4333, r4345, which are interleaved
according
to the svnClientAdapter r544 output).

-Jennifer Bevan

Index: commandline/Helper.java
===================================================================
--- commandline/Helper.java (revision 544)
+++ commandline/Helper.java (working copy)
@@ -75,7 +75,7 @@
 
        // 2003-10-13T12:54:42.957948Z
        private static DateFormat xmlFormat =
- new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ss");
+ new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
 
        /**
         * A non-instantiable class
Received on Sat Apr 3 16:39:18 2004

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.