Hello,

you can customize the way of propel handle date. you can add this line
in the propel.ini

# These are the default formats that will be used when fetching values
# from temporal columns in Propel.  You can always specify these when
# calling the methods directly, but for methods like getByName()
# it is nice to change the defaults.

propel.defaultTimeStampFormat = Y-m-d H:i:s
propel.defaultTimeFormat = H:i:s
propel.defaultDateFormat = Y-m-d


these lines come from the default.properties from /lib/vendor/propel-generator/

But Nicolas' solution is far more better and sf's way ...

Thomas

On Sat, Apr 19, 2008 at 2:18 PM, mdf092 <[EMAIL PROTECTED]> wrote:
>
>  Problem:
>  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.
>
>  I want to add some code to what propel generates in
>  [CODE]symfony propel-init-admin[/CODE]
>  but didn't find any documentation neither in symfony nor propel
>  official site.
>
>  >
>



-- 
Thomas Rabaix

Internet Consultant

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to