cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1494422 - /cxf/web/src/main/java/org/apache/cxf/cwiki/Page.java
Date Wed, 19 Jun 2013 02:22:38 GMT
Author: dkulp
Date: Wed Jun 19 02:22:38 2013
New Revision: 1494422

URL: http://svn.apache.org/r1494422
Log:
Chop off the milliseconds as it's causing some issues with the rss

Modified:
    cxf/web/src/main/java/org/apache/cxf/cwiki/Page.java

Modified: cxf/web/src/main/java/org/apache/cxf/cwiki/Page.java
URL: http://svn.apache.org/viewvc/cxf/web/src/main/java/org/apache/cxf/cwiki/Page.java?rev=1494422&r1=1494421&r2=1494422&view=diff
==============================================================================
--- cxf/web/src/main/java/org/apache/cxf/cwiki/Page.java (original)
+++ cxf/web/src/main/java/org/apache/cxf/cwiki/Page.java Wed Jun 19 02:22:38 2013
@@ -81,6 +81,7 @@ public class Page extends AbstractPage i
 
         String mod = DOMUtils.getChildContent(root, "modified");
         modified = DatatypeFactory.newInstance().newXMLGregorianCalendar(mod);
+        modified.setMillisecond(0);
         
         String c = DOMUtils.getChildContent(root, "content");
         if (c != null) {



Mime
View raw message