datepicker-id.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Indonesian initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Deden Fathurahman (dedenf@gmail.com). */
  3. (function( factory ) {
  4. if ( typeof define === "function" && define.amd ) {
  5. // AMD. Register as an anonymous module.
  6. define([ "../datepicker" ], factory );
  7. } else {
  8. // Browser globals
  9. factory( jQuery.datepicker );
  10. }
  11. }(function( datepicker ) {
  12. datepicker.regional['id'] = {
  13. closeText: 'Tutup',
  14. prevText: '<mundur',
  15. nextText: 'maju>',
  16. currentText: 'hari ini',
  17. monthNames: ['Januari','Februari','Maret','April','Mei','Juni',
  18. 'Juli','Agustus','September','Oktober','Nopember','Desember'],
  19. monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
  20. 'Jul','Agus','Sep','Okt','Nop','Des'],
  21. dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],
  22. dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
  23. dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
  24. weekHeader: 'Mg',
  25. dateFormat: 'dd/mm/yy',
  26. firstDay: 0,
  27. isRTL: false,
  28. showMonthAfterYear: false,
  29. yearSuffix: ''};
  30. datepicker.setDefaults(datepicker.regional['id']);
  31. return datepicker.regional['id'];
  32. }));