abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r598704 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/AtomDate.java
Date Tue, 27 Nov 2007 17:23:31 GMT
Author: jmsnell
Date: Tue Nov 27 09:23:28 2007
New Revision: 598704

URL: http://svn.apache.org/viewvc?rev=598704&view=rev
Log:
Silly bug. Bad James! No soup for you!

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/AtomDate.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/AtomDate.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/AtomDate.java?rev=598704&r1=598703&r2=598704&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/AtomDate.java (original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/AtomDate.java Tue
Nov 27 09:23:28 2007
@@ -259,7 +259,7 @@
     sb.append(c.get(Calendar.YEAR));
     sb.append('-');
     int f = c.get(Calendar.MONTH);
-    if (f < 10) sb.append('0');
+    if (f < 9) sb.append('0');
     sb.append(f+1);
     sb.append('-');
     f = c.get(Calendar.DATE);



Mime
View raw message