I really don't know if it's the correct or the best way, but as I said
befeore setting i18n on works for me. So, if you would like to do the same,
in project_root/apps/your_app/config/settings.yml add:

all:
  .settings:
      i18n:     on

and then in project_root/apps/your_app/config/i18n.yml add:

all:
  default_culture:     es_ES <---- well, use yours ;-D

then you should see the dates in the correct format. Actually you've to
restart the user session (simply restart your web browser)

For more information abou i18n, you know, read the book's chapter.

Cheers,

Marc.

2007/8/4, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
> Man can you show me how you do with details?
>
> On Aug 4, 10:36 am, "Marc Torres" <[EMAIL PROTECTED]> wrote:
> > I solve this using i18n and setting my default culture correctyl (it
> seems
> > symfony don't accept ca_ES which is perfectly valid, so I've to use
> es_ES)
> >
> > 2007/8/2, Jonathan Moreira Cardozo < [EMAIL PROTECTED]>:
> >
> >
> >
> >
> >
> > > Guys,
> >
> > > Hello, i'm having a problem with a input data tag at my admin, i set
> > > in generation file the param data format like this: "dd/MM/yyyy" it
> > > works in list, but in edit form it shows like "yyyy-mm-dd" how i fix
> > > this? Another doubt is how i set default value to this field like
> > > current date?
> >
> > > --
> > > Jonathan Cardozo | Web Solutions
> > >www.jonathancardozo.com.br
> >
> > --
> > "Beware of bugs in the above code; I have only proved it correct, not
> tried
> > it." Donald Knuth
>
>
> >
>


-- 
"Beware of bugs in the above code; I have only proved it correct, not tried
it." Donald Knuth

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