I configured my timezone to Europe/Paris in php.ini. When executing date_default_timezone_get() I do get the correct value.
Then, I expect strftime('%x', date()) to output something like 16 novembre 2018 which is the French format. But instead, I get 11/16/2018 which looks like the US format.
Any idea why?
setlocale('fr_Fr')the format is still the same.locale -ato see available locales. They are often named differently on different operating systems.fr_FRis most likely what you're looking for.