开发者

jQuery TimePicker - using 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜