Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r1482 - trunk/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter

subclipse
Discussion topic

Back to topic list

svn commit: r1482 - trunk/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter

Author brockj
Full name Brock Janiczak
Date 2005-07-25 16:43:06 PDT
Message Author: brockj
Date: Mon Jul 25 16:42:59 2005
New Revision: 1482

Modified:
   trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/SVNRevisi​on.java
Log:
Wrong SimpleDateFormat in SVNRevision

The old format was using the timezone from the server and did not include the seconds field.
Patch from Martin Burger

* SVNRevision.java
Updated date format to "yyyyMMdd'T'HHmmssZ"
Issue #: 350


Modified: trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/SVNRevisi​on.java
Url: http://subclipse.tig​ris.org/source/brows​e/subclipse/trunk/sv​nClientAdapter/src/m​ain/org/tigris/subve​rsion/svnclientadapt​er/SVNRevision.java?​view=diff&rev=14​82&p1=trunk/svnC​lientAdapter/src/mai​n/org/tigris/subvers​ion/svnclientadapter​/SVNRevision.java​&r1=1481&p2=tru​nk/svnClientAdapter/​src/main/org/tigris/​subversion/svnclient​adapter/SVNRevision.​java&r2=1482
====================​====================​====================​==================
--- trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/SVNRevisi​on.java (original)
+++ trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/SVNRevisi​on.java Mon Jul 25 16:42:59 2005
@@ -29,7 +29,8 @@
  */
 public class SVNRevision
 {
- private static DateFormat dateFormat = new SimpleDateFormat("yy​yy-MM-dd'T'HH:mm'Z'"​);
+ // See chapter 3 section 3.3 of the SVN book for valid date strings
+ private static DateFormat dateFormat = new SimpleDateFormat("yy​yyMMdd'T'HHmmssZ");
     protected int revKind;
 
     public SVNRevision(int kind)

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r1482 - trunk/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter brockj Brock Janiczak 2005-07-25 16:43:06 PDT
Messages per page: