开发者

jQuery TimePicker - using dd/mm/yyyy

开发者 https://www.devze.com 2023-01-27 15:20 出处:网络
Has anyone used Trent Richardsons TimePicker? It\'s a wonderful plugin, but I just can\'t seem to change th开发者_C百科e format of the date to dd/mm/yyyy

Has anyone used Trent Richardsons TimePicker?

It's a wonderful plugin, but I just can't seem to change th开发者_C百科e format of the date to dd/mm/yyyy

Has anyone used this control and knows if this can be done?


this works

>  DatePicker2.datepicker({ dateFormat:
> 'dd/mm/yy', changeMonth: true,
> changeYear: true, showAnim: '',
> showTime: true, duration: ''
>             });


There is a property dateFormat on the TimePicker object itself.

$.datepicker.regional['en'] = {
    dateFormat: 'dd.mm.yyyy'
}
0

精彩评论

暂无评论...
验证码 换一张
取 消