aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/src/test/java/test/at/gv/egovernment/moa/util/DateTimeUtilsTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/src/test/java/test/at/gv/egovernment/moa/util/DateTimeUtilsTest.java b/common/src/test/java/test/at/gv/egovernment/moa/util/DateTimeUtilsTest.java
index 5b7a92004..e3468b89f 100644
--- a/common/src/test/java/test/at/gv/egovernment/moa/util/DateTimeUtilsTest.java
+++ b/common/src/test/java/test/at/gv/egovernment/moa/util/DateTimeUtilsTest.java
@@ -51,7 +51,8 @@ public class DateTimeUtilsTest extends TestCase {
public void testParseDateTimeValid() throws Exception {
Date date;
- DateFormat format = SimpleDateFormat.getDateTimeInstance();
+ DateFormat format = new SimpleDateFormat("dd.MM.yyyy HH:mm:ss");
+
String dateStr;
format.setTimeZone(TimeZone.getTimeZone("GMT"));