On Wed, Aug 19, 2009 at 5:29 AM, Cyril <[email protected]> wrote:

> 2009/8/18 Jörn Zaefferer <[email protected]>
>
>>
>> As a workaround, you could set that option after init:
>>
>> $('#options #date').datepicker({
>>       minDate: 0,
>>       maxDate: "+2Y",
>>       regional: $('html').attr('lang'),
>>       changeMonth: true,
>>       changeYear: true,
>>       showOtherMonths: true,
>>       hideIfNoPrevNext: true,
>>       dateFormat: 'yy-mm-dd',
>>       defaultDate: new Date($('ul.events li:first span.date').attr
>> ('title')),
>>       beforeShowDay: highlightEventDates,
>>       onSelect: showEventsOnDate
>> }).datepicker("option", { onChangeMonthYear: showEventsFromMonth });
>>
>
>
> Hello,
> Why your regional option isn't in the doc (
> http://jqueryui.com/demos/datepicker/) ?
>

It looks like we have a demo that shows it

http://jqueryui.com/demos/datepicker/#localization

but it's not documented otherwise. Thanks for pointing this out. Ticket
created:

http://dev.jqueryui.com/ticket/4790

- Richard

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

Reply via email to