I have a problem with dates, a Spring application deployed on Tomcat. When I retrieve the data from the forms, they are stored correctly in the database in Windows. When I pass the application to Linux, the same date is stored but one day less. The problem is in Spring, since what arrives in the database is the modified date. This date is not modified in any step explicitly, in fact in Windows the same application works correctly.
Has someone happened to you or do you have an idea where that day is lost?