False year for dates '2019-12-29,'2019-12-30','2019-12-31' , not showing 2019 but 2020

I have a problem with table/grouptable cuba component that falsely showing year for this consecutive dates '2019-12-29,‘2019-12-30’,‘2019-12-31’ . Table is showing year 2020 instead of 2019. When I check directly to my table in Postgres, the data are saved and it shows dates correctly as it should. (year 2019)

How can I solve this problem, maybe I’m wrong but maybe this is related to the article below

Hi,

It seems that your issue is certainly related to the article above. But I can’t reproduce it with the default dateFormat (which is dd/MM/yyyy) defined in a CUBA app. I can assume that you defined a custom date format in your app, and if so, the solution is described in the article - you need to use yyyy instead of YYYY. Hope it helps.

Regards,
Gleb