UNPKG

1.68 kBJavaScriptView Raw
1//! moment.js locale configuration
2//! locale : Maltese (Malta) [mt]
3//! author : Alessandro Maruccia : https://github.com/alesma
4
5import moment from '../moment';
6
7export default moment.defineLocale('mt', {
8 months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(
9 '_'
10 ),
11 monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
12 weekdays:
13 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(
14 '_'
15 ),
16 weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
17 weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
18 longDateFormat: {
19 LT: 'HH:mm',
20 LTS: 'HH:mm:ss',
21 L: 'DD/MM/YYYY',
22 LL: 'D MMMM YYYY',
23 LLL: 'D MMMM YYYY HH:mm',
24 LLLL: 'dddd, D MMMM YYYY HH:mm',
25 },
26 calendar: {
27 sameDay: '[Illum fil-]LT',
28 nextDay: '[Għada fil-]LT',
29 nextWeek: 'dddd [fil-]LT',
30 lastDay: '[Il-bieraħ fil-]LT',
31 lastWeek: 'dddd [li għadda] [fil-]LT',
32 sameElse: 'L',
33 },
34 relativeTime: {
35 future: 'f’ %s',
36 past: '%s ilu',
37 s: 'ftit sekondi',
38 ss: '%d sekondi',
39 m: 'minuta',
40 mm: '%d minuti',
41 h: 'siegħa',
42 hh: '%d siegħat',
43 d: 'ġurnata',
44 dd: '%d ġranet',
45 M: 'xahar',
46 MM: '%d xhur',
47 y: 'sena',
48 yy: '%d sni',
49 },
50 dayOfMonthOrdinalParse: /\d{1,2}º/,
51 ordinal: '%dº',
52 week: {
53 dow: 1, // Monday is the first day of the week.
54 doy: 4, // The week that contains Jan 4th is the first week of the year.
55 },
56});