UNPKG

1.01 kBJavaScriptView Raw
1// Malay [ms]
2import dayjs from '../index';
3var locale = {
4 name: 'ms',
5 weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
6 weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
7 weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
8 months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
9 monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.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 HH.mm',
17 LLLL: 'dddd, D MMMM YYYY HH.mm'
18 },
19 relativeTime: {
20 future: 'dalam %s',
21 past: '%s yang lepas',
22 s: 'beberapa saat',
23 m: 'seminit',
24 mm: '%d minit',
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};
38dayjs.locale(locale, null, true);
39export default locale;
\No newline at end of file