1

I'm using datepicker of jquery ui now it show the month names like "March" I want show them in monthNamesShort format like "Mar" How can i do?

thanks

Luca Romagnoli
  • 12,145
  • 30
  • 95
  • 157

1 Answers1

1

Use an uppercase 'M' in the month part of the format string.

how can i format jquery datepicker as "25-JAN-2009"


Edit

I'm sure there is a nicer way, but what about manually giving it the month names?

$('#member_dob').datepicker({
            monthNames: ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
});
Community
  • 1
  • 1
FreeAsInBeer
  • 12,937
  • 5
  • 50
  • 82