Skip to content
Snippets Groups Projects
Commit 8eae9360 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Fixed #526 - Set default time zone in order to fix duplicated repeating transaction entries

parent 4a889a2c
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ import de.thecodelabs.utils.util.Localization;
import de.thecodelabs.utils.util.SystemUtils;
import de.thecodelabs.utils.util.localization.LocalizationMessageFormatter;
import de.thecodelabs.utils.util.localization.formatter.JavaMessageFormatter;
import org.joda.time.DateTimeZone;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.ApplicationArguments;
......@@ -26,10 +27,11 @@ import java.util.*;
@SpringBootApplication
public class Main extends SpringBootServletInitializer implements ApplicationRunner
{
private final static Logger LOGGER = LoggerFactory.getLogger(Main.class);
private static final Logger LOGGER = LoggerFactory.getLogger(Main.class);
static
{
DateTimeZone.setDefault(DateTimeZone.UTC);
prepare(new String[0]);
}
......@@ -132,7 +134,6 @@ public class Main extends SpringBootServletInitializer implements ApplicationRun
}
}
public static void main(String[] args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment