From eb4ed908ac855a593d13e609e93ac16b46dc8ad8 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Thu, 19 May 2011 14:55:32 +0200
Subject: [PATCH] Fehlerkorrektur im CLI-Servlet

---
 hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java b/hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java
index b69b2d8..b4316f9 100644
--- a/hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java
+++ b/hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java
@@ -8,6 +8,7 @@
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.List;
+import java.util.Locale;
 import java.util.Map;
 
 import javax.servlet.ServletConfig;
@@ -131,7 +132,7 @@
 					else if (type.equals("java.lang.Boolean") || type.equals("boolean"))
 						m[j].invoke(realO, Boolean.valueOf(value));
 					else if (type.equals("java.util.Date")) {
-						DateFormat df = DateFormat.getInstance();
+						DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, Locale.GERMANY);
 						m[j].invoke(realO, df.parse(value));
 					} else {
 						Method m2 = module.getClass().getMethod(

--
Gitblit v1.9.0-SNAPSHOT