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