LocalDate is shifted about one day in UI

Hi,
yesterday I had following problem:
I have an entity with a LocalDate attribute. My input in the UI was “28.09.1991” and was also saved correctly in the database. When I load the cuba screen again I saw “27.09.1991”.

My browser language is English (GB) and my system language is English (United States). In cuba I had no language configured but the default is German.
cuba.availableLocales=Deutsch|de;English|en

Since I configured German as my language in Cuba I see the LocalDate correctly.
Can anyone explain this behavior?

Thanks in advance!
Bye, Reini

Hi @reinhard.unger

I’m trying to reproduce the error. Could you please provide more information about the issue:

  • OS
  • Database type
  • CUBA Studio plugin version
  • Platform version

Regards, Elena

Hi @e.reznikova,

  • Ubuntu 20.04.4 LTS
  • 10.5.15-MariaDB-1:10.5.15+maria~focal
  • Cuba Studio plugin version: 15.9-213
  • Platform version: 7.2.18

Thank you! Reini

Hi, @reinhard.unger

Please check that the database time zone matches the application’s time zone.

Regards, Elena