Commit 50b27ed6 authored by Marco Descher's avatar Marco Descher 🏔

Remove hard-coded timezone setting

parent f3bcbb79
Pipeline #7205 passed with stages
in 1 minute and 48 seconds
...@@ -30,10 +30,7 @@ public class Application implements IApplication { ...@@ -30,10 +30,7 @@ public class Application implements IApplication {
public Object start(IApplicationContext context) throws Exception { public Object start(IApplicationContext context) throws Exception {
log.info("Starting " + Application.class.getName() + "..."); log.info("Starting " + Application.class.getName() + "...");
TimeZone tzone = TimeZone.getTimeZone("CET"); log.info("Settings: TimeZone [{}], user.language [{}], user.region [{}]", TimeZone.getDefault().getID(),
TimeZone.setDefault(tzone);
log.info("Settings: TimeZone [{}], user.language [{}], user.region [{}]", tzone.getID(),
System.getProperty("user.language"), System.getProperty("user.region")); System.getProperty("user.language"), System.getProperty("user.region"));
context.applicationRunning(); context.applicationRunning();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment