UNPKG

1.03 kBJavaScriptView Raw
1// Malay [ms-my]
2import dayjs from '../index';
3var locale = {
4 name: 'ms-my',
5 weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
6 months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
7 weekStart: 1,
8 weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
9 monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
10 weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.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: 'dalam %s',
24 past: '%s yang lepas',
25 s: 'beberapa saat',
26 m: 'seminit',
27 mm: '%d minit',
28 h: 'sejam',
29 hh: '%d jam',
30 d: 'sehari',
31 dd: '%d hari',
32 M: 'sebulan',
33 MM: '%d bulan',
34 y: 'setahun',
35 yy: '%d tahun'
36 }
37};
38dayjs.locale(locale, null, true);
39export default locale;
\No newline at end of file