title: jquery custom time format for datetimepicker
body: <p>i am using <a href="http://xdsoft.net/jqplugins/datetimepicker/" rel="nofollow">this</a> third party datetimepicker plugin for my date and time picking functionality. i want to customize my time format to 12 hour format with <code>AM/PM</code>, i have changed my code to achieve this </p>
  
  <pre><code>$('#startTime').datetimepicker({
              datepicker : false,
              format : 'g:i A'
  });
  </code></pre>
  
  <p>this some how satisfied my requirement, when i select a time it displays in 12 hour format in the input box, but my date picker ui displays still in 24 hour format, i have tried this </p>
  
  <pre><code>{allowTimes:[
    '09:00 AM',
    '11:00 AM',
    '12:00 PM',
    '21:00 PM'
  ]}
  </code></pre>
  
  <p>but it doesnt work, is there a way so that i can change the default setting to 12 hours instead of 24 hours.</p>