Page 1 of 1

Birthday in OSCOM CE Phoenix v1.0.7.15

Posted: Thu Aug 26, 2021 6:13 pm
by Philo2005
A customer found out that his birthday is being modified by Phoenix.
His Birthday is 21.02.1997 (German Format).
When he entered his birth date (and other items on customer section account_edit.php) and pressed enter,
the date is being changed to 09.02.1997 or 02.21.1997.
This is not correct, any ideas what is wrong?

For Information: the date can be changed in the admin section customers.php with success to the correct date 21/02/1997.

Re: Birthday in OSCOM CE Phoenix v1.0.7.15

Posted: Thu Aug 26, 2021 10:27 pm
by ecartz
Is he using the calendar widget in his browser? Or is he entering the date as text?

When I use the calendar widget, it enters the date correctly. If I attempt to enter it as that text, it doesn't. As best I can see, this is a known problem with data entry in browsers: https://stackoverflow.com/questions/737 ... ate-format

We aren't going to modify the core date picker, which is rarely used. If you want it to work differently, you'd have to get someone to develop one. Note that such a thing would be relatively straightforward as a customer data module. With the caveat that it would almost certainly have to be some kind of Javascript thing.

Re: Birthday in OSCOM CE Phoenix v1.0.7.15

Posted: Fri Aug 27, 2021 8:57 am
by Philo2005
With the calendar widget ends up in 02/21/1997 and will create an error, the date format is wrong.
Entering the date as text ends up in 09.02.1997 and the date will be accepted.