abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r416400 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/AtomDate.java
Date Thu, 22 Jun 2006 15:37:05 GMT
Author: jmsnell
Date: Thu Jun 22 08:37:05 2006
New Revision: 416400

URL: http://svn.apache.org/viewvc?rev=416400&view=rev
Log:
>From Rob Yates....
"while looking at the GData stuff abdera was incorrectly 
parsing the dates. I fixed AtomDate and here's the change 
(two SS's to three SSS's for millisecond)"

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=416400&r1=416399&r2=416400&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 Thu
Jun 22 08:37:05 2006
@@ -141,10 +141,10 @@
   }
   
   private static final String[] masks = {
-    "yyyy-MM-dd'T'HH:mm:ss.SSz",
-    "yyyy-MM-dd't'HH:mm:ss.SSz",                         // invalid
-    "yyyy-MM-dd'T'HH:mm:ss.SS'Z'",
-    "yyyy-MM-dd't'HH:mm:ss.SS'z'",                       // invalid
+    "yyyy-MM-dd'T'HH:mm:ss.SSSz",
+    "yyyy-MM-dd't'HH:mm:ss.SSSz",                         // invalid
+    "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
+    "yyyy-MM-dd't'HH:mm:ss.SSS'z'",                       // invalid
     "yyyy-MM-dd'T'HH:mm:ssz",
     "yyyy-MM-dd't'HH:mm:ssz",                            // invalid
     "yyyy-MM-dd'T'HH:mm:ss'Z'",



Mime
View raw message