jv.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Javanese [jv]
  2. import dayjs from '../index';
  3. var locale = {
  4. name: 'jv',
  5. weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
  6. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'),
  7. weekStart: 1,
  8. weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
  9. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
  10. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
  11. ordinal: function ordinal(n) {
  12. return n;
  13. },
  14. formats: {
  15. LT: 'HH.mm',
  16. LTS: 'HH.mm.ss',
  17. L: 'DD/MM/YYYY',
  18. LL: 'D MMMM YYYY',
  19. LLL: 'D MMMM YYYY [pukul] HH.mm',
  20. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
  21. },
  22. relativeTime: {
  23. future: 'wonten ing %s',
  24. past: '%s ingkang kepengker',
  25. s: 'sawetawis detik',
  26. m: 'setunggal menit',
  27. mm: '%d menit',
  28. h: 'setunggal jam',
  29. hh: '%d jam',
  30. d: 'sedinten',
  31. dd: '%d dinten',
  32. M: 'sewulan',
  33. MM: '%d wulan',
  34. y: 'setaun',
  35. yy: '%d taun'
  36. }
  37. };
  38. dayjs.locale(locale, null, true);
  39. export default locale;