jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1296777 - /incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/util/Utils.java
Date Sun, 04 Mar 2012 10:35:24 GMT
Author: andy
Date: Sun Mar  4 10:35:24 2012
New Revision: 1296777

URL: http://svn.apache.org/viewvc?rev=1296777&view=rev
Log:
Fix fractional seconds format (now() fixed to 3 decimal places).

Modified:
    incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/util/Utils.java

Modified: incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/util/Utils.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/util/Utils.java?rev=1296777&r1=1296776&r2=1296777&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/util/Utils.java (original)
+++ incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/util/Utils.java Sun
Mar  4 10:35:24 2012
@@ -95,7 +95,7 @@ public class Utils
     
     public static String calendarToXSDDateTimeString(Calendar cal)
     {
-        return calendarToXSDString(cal, "yyyy-MM-dd'T'HH:mm:ss.S") ;
+        return calendarToXSDString(cal, "yyyy-MM-dd'T'HH:mm:ss.SSS") ;
     }
     
     public static String calendarToXSDDateString(Calendar cal)



Mime
View raw message