Customize the date format in the header

Posted in: Newspaper
Post count: 29

Hello, I use French as a language and yet it is impossible to adjust the date format in the header of the site pages.

In WordPress I did indeed configure the date format to have the day, the date, the month and then the year. But the theme persists in displaying the English model, i.e. Day, month, date and year. How to correct the situation or when will you add the possibility of adjusting it.

I am attaching screenshots so you can see for yourself that I have configured my WordPress correctly.

Wordpress

Header

Merci à l’avance,

Luc Laporte

Post count: 27744

Hello,

Please edit with tagDiv Composer, select the header date and you can customize the data format https://i.imgur.com/RunHa0M.png

Thank you!

Post count: 29

Bonjour,

J’ai le regret de vous dire que votre réponse était fausse pour corriger la date. Il faut faire l’ajustement dans le Theme Panel et plus particulièrement dans le menu HEADER et le sous menu TopBar et la vous avez le Date Format. Pour l’avoir en francais vous inscrivez l, j F, Y. Ainsi vous l’aurez en mode francais.

Merci tout de même…

Luc Laporte

Post count: 5

Hi everyone,

I’m using the Rimont header template and trying to customize the date format to display it properly in Spanish. My goal is to show something like this:

sábado, 17 de mayo de 2025

For that, I’m using the following date format:
l, j \d\e F \d\e Y

This works fine with PHP’s date() function or in other WordPress areas, but in the header template, the result is incorrect. It outputs something like:

sábado, 17 17Europe/Madrid mayo 17Europe/Madrid 2025

It seems like the escaped characters (\d\e) are either not parsed correctly or are replaced with timezone data, which completely breaks the format.

Has anyone experienced this before? Is there any workaround or way to make the escaped text render properly when using a header template like Rimont?

Thanks a lot for your help!
Santiago

Post count: 35449

Hi Santiago,

I think that you want to get something like this: Monday, 19 de May de 2025 for this you’ll need use more elements for date and 2 inline text elements to set the text ‘de’, this situation is because the \d\e are not interpreted the same as in wordpress options – https://i.imgur.com/ZlmO1GL.png

Thank you for your understanding!

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.