Я пробовал
Код: Выделить всё
mvn spring-boot:run -Dexec.args="-Duser.timezone=GMT"Код: Выделить всё
mvn spring-boot:run -Dexec.args="-Duser.timezone=UTC"- в config/application.properties
Код: Выделить всё
user.timezone=UTC Код: Выделить всё
user.timezone=GMT- В pom.xml:
Код: Выделить всё
org.springframework.boot spring-boot-maven-plugin -Duser.timezone=UTC - mvn Spring-boot:run -Dspring-boot.run.jvmArguments="-Duser.timezone=UTC"
Код: Выделить всё
System.out.println(TimeZone.getDefault());
Spring Boot 1.5.19, Java 8
Подробнее здесь: https://stackoverflow.com/questions/543 ... -time-zone
Мобильная версия