I have this code:
<?php
echo "'".$sgps_newsletter->getEmail()."' demande en ".date('d.M.Y', strtotime($sgps_newsletter->getCreatedAt()))
?>
but the month name is appering in english. What can I do to show it in french? I've change the settings.yml
default culture to french, but nothing happens.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…