diff options
author | James D. Forrester <jforrester@wikimedia.org> | 2019-02-22 10:34:40 +0000 |
---|---|---|
committer | Krinkle <krinklemail@gmail.com> | 2019-02-22 21:15:18 +0000 |
commit | cd53cf22c025429e0c252ea455f7698120834dfc (patch) | |
tree | ad07f4da65352fdd093c3a672386babae476adfc /resources/lib/moment/locale/mt.js | |
parent | e3a9cc66b892e1f19db884541cd8fdfa25fc6c45 (diff) | |
download | mediawikicore-cd53cf22c025429e0c252ea455f7698120834dfc.tar.gz mediawikicore-cd53cf22c025429e0c252ea455f7698120834dfc.zip |
Upgrade moment from 2.19.3 to 2.24.0
Bug: T191339
Change-Id: I15034d88fabd9185f3eb5ffff98ee6f9922a7bc2
Diffstat (limited to 'resources/lib/moment/locale/mt.js')
-rw-r--r-- | resources/lib/moment/locale/mt.js | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/resources/lib/moment/locale/mt.js b/resources/lib/moment/locale/mt.js new file mode 100644 index 000000000000..4a34c5deb275 --- /dev/null +++ b/resources/lib/moment/locale/mt.js @@ -0,0 +1,59 @@ +//! moment.js locale configuration + +;(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'; + + + 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; + +}))); |