title: Date format jquery and localization
body: <p>How to set dd/mm/yy on departureDate input field. But i'm thinking to change both format to be Indonesian localization like "Senin 05 Agustus 2015".</p>
  
  <p>Is it possible? Thanks in advance.</p>
  
  <p><a href="http://jsfiddle.net/JKGvD/658/" rel="nofollow">jsfiddle link</a></p>
  
  <pre><code>Arrive:
  &lt;input type="text" id="arrivalDate" class="datepicker"&gt;
  &lt;br /&gt;Nights:
  &lt;input type="text" id="numOfNights" value="1"&gt;
  &lt;br /&gt;Depart:
  &lt;input type="text" id="departureDate"&gt;
  </code></pre>
  
  <p>jquery script</p>
  
  <pre><code>$('#arrivalDate').datepicker({
  
      dateFormat: "dd/mm/yy",
      onSelect: function (dateStr) {
          var nights = parseInt($('#numOfNights').val());
          var depart = $.datepicker.parseDate('dd/mm/yy', dateStr);
          depart.setDate(depart.getDate() + nights);
          $('#departureDate').val(depart);
      }
  });
  
  $('#numOfNights').change(function () {
      var nights = parseInt($('#numOfNights').val());
      var depart = $.datepicker.parseDate('dd/mm/yy', $('#arrivalDate').val());
      depart.setDate(depart.getDate() + nights);
      $('#departureDate').val(depart);
  });
  </code></pre>