title: Wrong time when saving in database
body: <p>For some reason date fields of records get saved with the wrong hour in the database, in this case they go back by 2 hours. My application runs on tomcat 9. When running the app in my local machine using embedded tomcat this behavior doesn't replicate, while when it runs on the remote server it does. I have ruled out problems with the machine's time and Window's and the only variable in this case is tomcat but I can't find anything that can cause this behavior.</p>
  <p>Here's a log4j entry displaying the correct log entry time but the wrong operation time:</p>
  <pre><code>2021-09-29 10:25:04,391 INFO ? [https-openssl-nio-8444-exec-8] ***.***.***.*** accessed resource /app/contracts/249 @ 29/09/2021 at 08:25:04
  </code></pre>
  <p>LOG ENTRY: <strong>10:25</strong></p>
  <p>OPERATION: <strong>08:25</strong></p>