UNPKG

1.05 kBJavaScriptView Raw
1// Maltese (Malta) [mt]
2import dayjs from '../index';
3var locale = {
4 name: 'mt',
5 weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split('_'),
6 months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split('_'),
7 weekStart: 1,
8 weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
9 monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
10 weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.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 HH:mm',
20 LLLL: 'dddd, D MMMM YYYY HH:mm'
21 },
22 relativeTime: {
23 future: 'f’ %s',
24 past: '%s ilu',
25 s: 'ftit sekondi',
26 m: 'minuta',
27 mm: '%d minuti',
28 h: 'siegħa',
29 hh: '%d siegħat',
30 d: 'ġurnata',
31 dd: '%d ġranet',
32 M: 'xahar',
33 MM: '%d xhur',
34 y: 'sena',
35 yy: '%d sni'
36 }
37};
38dayjs.locale(locale, null, true);
39export default locale;
\No newline at end of file