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'
}
精彩评论