We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7d580b + d659df0 commit b381cc0Copy full SHA for b381cc0
src/main/java/uk/gov/companieshouse/orders/api/OrdersApiApplication.java
@@ -9,6 +9,9 @@
9
import uk.gov.companieshouse.orders.api.environment.RequiredEnvironmentVariables;
10
import uk.gov.companieshouse.orders.api.logging.LoggingUtils;
11
12
+import java.util.Locale;
13
+import java.util.TimeZone;
14
+
15
@SpringBootApplication
16
public class OrdersApiApplication {
17
private static Logger LOGGER = LoggingUtils.getLogger();
@@ -17,6 +20,8 @@ public class OrdersApiApplication {
20
18
21
public static void main(String[] args) {
19
22
if(checkEnvironmentVariables()) {
23
+ TimeZone.setDefault(TimeZone.getTimeZone("Europe/London"));
24
+ Locale.setDefault(Locale.UK);
25
SpringApplication.run(OrdersApiApplication.class, args);
26
}
27
0 commit comments