mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-30 09:04:58 +05:00
67 lines
2.2 KiB
JavaScript
67 lines
2.2 KiB
JavaScript
|
//! 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;
|
|||
|
|
|||
|
})));
|