[symfony-users] Re: Wrong date and currency format for locale

2010-12-08 Thread hrajchert
The last one worked :)
Thanks, leandro

On Dec 2, 8:05 pm, Leandro leandrosua...@gmail.com wrote:
 In addition to what Pierre says you should use format_date($date, 'p')

 'p' references de MediumDatePattern which in Argentina is dd/mm/

 Hope it helps

 On 25 nov, 21:22,hrajcherthrajch...@gmail.com wrote:







  Hi, i live in Argentina and speak spanish, so my default culture is
  es_AR.
  Ive setted the default culture in apps/frontend/config/settings.yml

  When I print todays date using the format_date helper it prints
  12/25/10, which is mm/dd/yy. Normaly in Argentina the dates are
  displayed as dd/mm/ such as 25/12/2010.

  Also when using the format_currency like echo Tengo .
  format_currency(500) i expect this output: Tengo $500, but i got:
  Tengo 500.

  I couldnt find a way to change the date formating or the currency
  formating for my locale. Is this a bug or im missing something.

  With regards,
  Hernan Rajchert

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Wrong date and currency format for locale

2010-11-27 Thread hrajchert
Hi, i live in Argentina and speak spanish, so my default culture is
es_AR.
Ive setted the default culture in apps/frontend/config/settings.yml

When I print todays date using the format_date helper it prints
12/25/10, which is mm/dd/yy. Normaly in Argentina the dates are
displayed as dd/mm/ such as 25/12/2010.

Also when using the format_currency like echo Tengo .
format_currency(500) i expect this output: Tengo $500, but i got:
Tengo 500.

I couldnt find a way to change the date formating or the currency
formating for my locale. Is this a bug or im missing something.

With regards,
Hernan Rajchert

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en