Problems with the date format

Open to all! Ask other shopowners for help.
Post Reply
donald81
Posts: 3
Joined: Wed Jun 25, 2025 6:48 pm
Phoenix Version:

Problems with the date format

Post 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
You do not have the required permissions to view the files attached to this post.


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Problems with the date format

Post 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
I am not here to build for you.
I am here to build with you. Let's help each other.
donald81
Posts: 3
Joined: Wed Jun 25, 2025 6:48 pm
Phoenix Version:

Re: Problems with the date format

Post 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?
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Problems with the date format

Post 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
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply