Change the date format in Symfony with Propel
You’ll usually want to have the same date format all over your Symfony / Propel project.
You only need to change one thing to do that:
In config/propel.ini:
propel.defaultTimeStampFormat = j M Y H:i
propel.defaultTimeFormat = H:i
propel.defaultDateFormat = j M Y
You can set the above format using PHP date() formatting.
After setting this run Symfony tasks propel:build-all (you may not need to reload the sql though) and cache:clear.
That’s all, enjoy!