I do not understand why the locale set in config.yml symfony is not applied on my OVH server.
I tried direcly to convert date in php without the framework and here are my results :
setlocale (LC_TIME, 'fr_FR.utf8');
echo strftime ("% A% e% B% Y", mktime (0, 0, 0, 12, 22, 1978));
$today = new \datetime();
print_r ($today-> format ('l d F Y - H:i'));
return : "vendredi 22 décembre 1978" "Tuesday 27 March 2018 - 18:49"
I would like only "vendredi 22 décembre 1978"
I don't want to use https://www.simonholywell.com/post/2015/07/international-php-dates-with-intl/ because I don't want to convert dates each times I need to display a date.
I don't have this problem on others hosters. Only on OVH webhosting.
Thank tou for you help