From b6ddca34e0431769f1ca765fb90809f6c825e403 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Wed, 6 Feb 2013 11:17:02 +0000
Subject: [PATCH] better timestamp

SVN: 28301
---
 .../cisd/openbis/generic/server/util/TestInitializer.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/util/TestInitializer.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/util/TestInitializer.java
index ebc4c951b5b..985e3aec74d 100644
--- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/util/TestInitializer.java
+++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/util/TestInitializer.java
@@ -88,7 +88,7 @@ public class TestInitializer
 
         if (firstTry && System.getProperty("rebuild-index", "true").equals("true"))
         {
-            SimpleDateFormat dateFormat = new SimpleDateFormat("MMDDHHmmssS");
+            SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmssS");
             String timestamp = dateFormat.format(new Date());
             String databaseKind = "indexing_" + timestamp;
             try
-- 
GitLab