jDownloadsownloads.com

Author Topic: custom field - type date - czech lagnguage  (Read 186 times)

0 Members and 1 Guest are viewing this topic.

Offline iiacek

  • Newbie
  • *
  • Posts: 1
custom field - type date - czech lagnguage
« on: 08.02.2021 15:46:20 »
Hello,

I have a little problem with custom fied (type date). When I  log into the administration with english language everything works fine. But when I logged with Czech language the date is rewited with nonsence after picking the date form the calendar and saving (f.e. I choose 30.06.2021 from calendar, press save and the field id rewitten to 20.06.2030)

Thanks a lot.

Best regards.

Pavel Vit

Offline ColinM

  • Moderator
  • *
  • Posts: 3.985
Re: custom field - type date - czech lagnguage
« Reply #1 on: 09.02.2021 13:52:46 »
Pavel,
Think this is all about the default Date Format.  The usual English one is LC2.  Seems that the Czech language files have selected another format.
If  your example the date string in Engish is 30.06.2021 but in the Czech you have 20.06.2030 which is a re-arrangement of 30.06.20 with the century digits added afterwards by the date software.
Colin