Hello Daniele,

in the listings my culture setting are also O.K.
I got it now to work now, that the dropdowns from the Datefields are right:

$this->widgetSchema['start_date'] = new
sfWidgetFormJQueryDate(array('culture' => 'de_DE', 'format' =>
'%day%.%month%.%year%'));

But the Datepicker from JQuery still is in english format.

2009/1/10 Daniele <[email protected]>

>
> I have exactly the same problem with another culture.
> But I have the same problem also with the standard sfWidgetFormDate
> widget.
> I think that culture is generally automatically discovered, but some
> things perhaps does not works well in forms.
> In fact I have noticed that in lists the fields of date type works
> well (culture and format parameters are correctly handled).
>
> On Jan 9, 5:12 pm, "Kai Brändle" <[email protected]> wrote:
> > Hello all,
> >
> > i try to get the sfWidgetFormJQueryDate to display dates in German
> format.
> > But i cant figure out how to do it.
> >
> > I tried:
> > $this->widgetSchema['start_date'] = new
> > sfWidgetFormJQueryDate(array('culture' => 'de_DE', 'format' =>
> > '%day%.%month%.%year%'));
> >
> > $this->widgetSchema['start_date'] = new
> > sfWidgetFormJQueryDate(array('culture' => 'de', 'format' =>
> > '%day%.%month%.%year%'));
> >
> > But nothing works.
> > Has someone an idea for me?
> >
> > Thanks, Kai
> >
>

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