Thread Starter
s427
(@s427)
I confirm that it’s working. Great job! Thanks a lot!
Thread Starter
s427
(@s427)
Thanks for your quick answer. That’s not what I’m talking about, though.
The problem is not the date formatting (I figured that out by myself) but the date localization. E.g. having the current day displayed as “Vendredi” (fr) instead of “Friday” (en), or the current month displayed as “Février” instead of “February”.
The widget does it correctly (names of days and months are displayed in French, like the rest of the site), but the page does not (names are displayed in English). I don’t understand why they behave differently and how to correct that.
I’ll add that the dates of posts (as displayed by WordPress) are also displayed in French (which is what I want) so I don’t think the problem comes from the theme I’m using. But I don’t know WordPress very well so maybe I’m missing something… (The whole WordPress installation is French too.)