My question is similar to Remove leading "0" on the day of the month SimpleDateFormat
Is it possible to remove the leading "0" in jQuery custom date id?
the DateFormat parameter is as close as possible to the documentation:
$( ".selector" ).datepicker({ dateFormat: "yy-mm-dd" });
But I need a date like December 5, 2012, the datepicker shows it as 12/05/2012, whereas I would like to have 12/5/2012. The same goes for April 5th: 5/5/2013, for example.
Can this be done without extensive logic?
source share