Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

id.js 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Indonesian [id]
  2. import dayjs from '../index';
  3. var locale = {
  4. name: 'id',
  5. weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
  6. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
  7. weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
  8. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
  9. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
  10. weekStart: 1,
  11. formats: {
  12. LT: 'HH.mm',
  13. LTS: 'HH.mm.ss',
  14. L: 'DD/MM/YYYY',
  15. LL: 'D MMMM YYYY',
  16. LLL: 'D MMMM YYYY [pukul] HH.mm',
  17. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
  18. },
  19. relativeTime: {
  20. future: 'dalam %s',
  21. past: '%s yang lalu',
  22. s: 'beberapa detik',
  23. m: 'semenit',
  24. mm: '%d menit',
  25. h: 'sejam',
  26. hh: '%d jam',
  27. d: 'sehari',
  28. dd: '%d hari',
  29. M: 'sebulan',
  30. MM: '%d bulan',
  31. y: 'setahun',
  32. yy: '%d tahun'
  33. },
  34. ordinal: function ordinal(n) {
  35. return n + ".";
  36. }
  37. };
  38. dayjs.locale(locale, null, true);
  39. export default locale;