Trying to save birthday and date selected in calendar using Danish language in front, which has a different order of %d-%m-%Y than the English %Y-%m-%d set in DATE_FORMAT_CALENDAR_DATE.
Birthday saved
Getting a: Advarsel
Profilen kunne ikke gemmes: Fødselsdatoen som du angav er ugyldig. Angiv venligst en gyldig dato.
Which is the warning for profile could not be saved, birthday entered is invalid. Please enter valid date.
If I change to English front it works (but only if the field is required, else it fails with same warning in English)
3.7.0
My strings are:
DATE_FORMAT_CALENDAR_DATE="%d-%m-%Y"
DATE_FORMAT_CALENDAR_DATETIME="%d-%m-%Y %H:%M:%S"
DATE_FORMAT_FILTER_DATE="d-m-Y"
DATE_FORMAT_FILTER_DATETIME="d-m-Y H:i:s"
german pack uses
DATE_FORMAT_CALENDAR_DATE="%d.%m.%Y"
DATE_FORMAT_CALENDAR_DATETIME="%d.%m.%Y %H:%M:%S"
DATE_FORMAT_FILTER_DATE="d.m.Y"
DATE_FORMAT_FILTER_DATETIME="d.m.Y H:i:s"
not sure we can use period instead of hyphens...
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-04-28 19:03:07 |
Closed_By | ⇒ | Bakual |
Closing as not a core issue.
Have released a new package
Tried same in German Lang. (01.01.2000): Write in Field isn't saved, have to select Year by clicking "<", this Date got saved.