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!
Comments
Comment from Lars
Time March 29, 2010 at 10:14 am
@ejawahyu unfortunately I don’t have a contact for the project maintainer of eclipseSDCC, the project seems dead indeed, I only helped with their website a few years ago.
Comment from ekawahyu
Time March 27, 2010 at 11:27 am
OOT, do you know how to contact project maintainer of eclipseSDCC. The project seems dead. Thanks.