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