Elxis CMS Forum
Support => General => Topic started by: adus on January 13, 2016, 21:01:42
-
Got a problem with the usertabe.
While saving an user-entry as admin after editing an error message pops up: one or more required fields are empty (missing date in expire-field.)
After changing that with the calendar-helper: It shows up d. m. Y
By typing in via keyboard it says: invalid date.
Tried a couple of different date-formats - no one is valid
I'm using german dateformat
Thanks in advance for your support
adus
-
The proper date format for data input boxes in German language is "dd-mm-YYYY" (day-month-year). Set the expiration date (Verfalldatum) to "01-01-2060" (never expires)
-
Thanks datahell for your reply..
You brought me to the right track ;D
I corrected the date formats in the language file to the propper values and changed the line
$_lang['DATE_FORMAT_BOX'] = 'd-m-Y'; too to 'd.m.Y' which was wrong.
Thanks again!
Hans aka adus
-
Good. Just for your information.
1. The supported date formats for date input boxes are:
Y-m-d, Y/m/d, d-m-Y, d/m/Y, m-d-Y, m/d/Y
Lanuage string DATE_FORMAT_BOX in language files
2. The supported date formats for datetime input boxes are:
Y-m-d H:i:s, Y/m/d H:i:s, d-m-Y H:i:s, d/m/Y H:i:s, m-d-Y H:i:s, m/d/Y H:i:s
Lanuage string DATE_FORMAT_BOX_LONG in language files