I had this problem too. The documentation is confusing, possibly wrong
I think.
The docs say:
$("#DateFrom").datepicker({ altFormat: 'yy-mm-dd' });
But this works:
$("#DateFrom").datepicker({ dateFormat: 'yy-mm-dd' });
On May 22, 12:30 am, akaine <[email protected]> wrote:
> nevermind, solved it...
>
> On May 21, 5:36 pm, akaine <[email protected]> wrote:
>
>
>
> > Hello
>
> > I've been trying to implement the UI Datepicker plugin, and after
> > several tries it worked. The only remaining problem is the altFormat
> > parameter. I've tried to put it directly in the constructor or alter
> > calendar instance later by using setter method. All useless, the
> > plugin ignores the parameter and always sets the date in its default
> > "mm/dd/yy" format.
>
> > Any suggestions?
>
> > Regards and Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---