On Sat, Apr 19, 2008 at 2:18 PM, mdf092 <[EMAIL PROTECTED]> wrote:
> i want to modify date in symfony for Arabic culture dates.
> so i want to add some code to all dates getters and setters.
> can anyone help me to find right place to modify in symfony core or
> propel code generator.
You'd better format your dates at templating time, using the getter
first argument, eg. $myobj->getCreatedAt('dd/MM/YYYY') (or something
like this)
You can also use the I18n and Date helpers to format dates
automatically with the culture of the user:
http://www.symfony-project.org/book/1_0/13-I18n-and-L10n#Outputting%20Data%20in%20the%20User's%20Culture
HTH
++
--
Nicolas Perriault
http://prendreuncafe.com/blog
GSM: 06.60.92.08.67
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---