I would have thought this was:
.datepicker({ dateFormat: 'dd-mmm-yyyy' });
for month, I get some number that I don't understnad where they are coming from?
According to the documentation, a single M is "Month name short" and "yy" is "Four Digit Year."
dd-M-yy
1.4m articles
1.4m replys
5 comments
57.0k users