[HepData-svn] r1652 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Nov 5 17:05:44 GMT 2013


Author: whalley
Date: Tue Nov  5 17:05:44 2013
New Revision: 1652

Log:
adding timestamp to HepML formatter

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java	Tue Nov  5 16:28:37 2013	(r1651)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java	Tue Nov  5 17:05:44 2013	(r1652)
@@ -14,7 +14,7 @@
 public class HepMLFormatter {
 
     public static String _getTimestamp(){
-        DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
+        DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssssssssssss");
         Date date = new Date();
         return dateFormat.format(date);
     }


More information about the HepData-svn mailing list