Page 1 of 1

Problems with the date format

Posted: Wed Jun 25, 2025 6:53 pm
by donald81
Hello,
I have my store running but I have trouble with the date?
In the confirmation emails and also on the store admin it give on the place where the date needs to be a message like "DATE_FORMAT_SHORT" I put photo for an example.
somebody have a clue how to solve this?

I have dutch language installed. seems to be that in the english language it is working.
date.jpg

Re: Problems with the date format

Posted: Wed Jun 25, 2025 10:07 pm
by burt
a/ What version Phoenix are you on?

b/ assumption it is this addon app.php/addons/free_addon/dutch_language_pack/ , so do you have the correct version of that for the your version of Phoenix

Re: Problems with the date format

Posted: Thu Jun 26, 2025 3:09 pm
by donald81
I have CE Phoenix v1.0.8.20 installed also of course the dutch language pack off that version.
Is possible that i need to change something in my datebase or php settings?

Re: Problems with the date format

Posted: Thu Jun 26, 2025 3:18 pm
by burt
This is an image of the top part of the main language file from Dutch language addon;

dutch.png

Does your main language file, /includes/languages/dutch.php, look like this?
You can clearly see that DATE_FORMAT_SHORT is defined in there, like s;

Code: Select all

const DATE_FORMAT_SHORT = '%d/%m/%Y';  // this is used for strftime()
As this is an Addon, you might get superior support from the Addon maker who would be able to help you in your language; app.php/addons/free_addon/dutch_language_pack/support