title: How get current month short name with jquery ui datepicker instead full month name?
body: <p>My code that give  long month name instead short name: </p>
  
  <pre><code>var monthShortName=$.datepicker.formatDate('MM d, yy', new Date(),{ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Aug','Sep','Okt','Nov','Dec'] });
  
  alert(monthShortNam); // "March" and not like i want "Mar"
  </code></pre>
  
  <p>Thanks</p>
  
  <p>(I use JQuery 1.7.1 + jQuery UI 1.8.2)</p>
  
  <p><strong>Edit - Eliasson Solution('M' and not 'MM'):</strong></p>
  
  <pre><code>$.datepicker.formatDate('M d, yy', new Date());
  </code></pre>