Maybe the default culture is not properly set on the user.

Could you try to set it manually in an action displaying dates ?

$this->getUser()->setCulture('es_AR');



2010/11/26 hrajchert <[email protected]>

> 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/yyyy 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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 [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-users?hl=en

Reply via email to