mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
68 lines
2.3 KiB
JavaScript
68 lines
2.3 KiB
JavaScript
|
//! moment.js locale configuration
|
||
|
//! locale : Albanian (sq)
|
||
|
//! author : Flakërim Ismani : https://github.com/flakerimi
|
||
|
//! author: Menelion Elensúle: https://github.com/Oire (tests)
|
||
|
//! author : Oerd Cukalla : https://github.com/oerd (fixes)
|
||
|
|
||
|
(function (global, factory) {
|
||
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
||
|
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
||
|
factory(global.moment)
|
||
|
}(this, function (moment) { 'use strict';
|
||
|
|
||
|
|
||
|
var sq = moment.defineLocale('sq', {
|
||
|
months : 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'),
|
||
|
monthsShort : 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
|
||
|
weekdays : 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'),
|
||
|
weekdaysShort : 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
|
||
|
weekdaysMin : 'D_H_Ma_Më_E_P_Sh'.split('_'),
|
||
|
meridiemParse: /PD|MD/,
|
||
|
isPM: function (input) {
|
||
|
return input.charAt(0) === 'M';
|
||
|
},
|
||
|
meridiem : function (hours, minutes, isLower) {
|
||
|
return hours < 12 ? 'PD' : 'MD';
|
||
|
},
|
||
|
longDateFormat : {
|
||
|
LT : 'HH:mm',
|
||
|
LTS : 'LT:ss',
|
||
|
L : 'DD/MM/YYYY',
|
||
|
LL : 'D MMMM YYYY',
|
||
|
LLL : 'D MMMM YYYY LT',
|
||
|
LLLL : 'dddd, D MMMM YYYY LT'
|
||
|
},
|
||
|
calendar : {
|
||
|
sameDay : '[Sot në] LT',
|
||
|
nextDay : '[Nesër në] LT',
|
||
|
nextWeek : 'dddd [në] LT',
|
||
|
lastDay : '[Dje në] LT',
|
||
|
lastWeek : 'dddd [e kaluar në] LT',
|
||
|
sameElse : 'L'
|
||
|
},
|
||
|
relativeTime : {
|
||
|
future : 'në %s',
|
||
|
past : '%s më parë',
|
||
|
s : 'disa sekonda',
|
||
|
m : 'një minutë',
|
||
|
mm : '%d minuta',
|
||
|
h : 'një orë',
|
||
|
hh : '%d orë',
|
||
|
d : 'një ditë',
|
||
|
dd : '%d ditë',
|
||
|
M : 'një muaj',
|
||
|
MM : '%d muaj',
|
||
|
y : 'një vit',
|
||
|
yy : '%d vite'
|
||
|
},
|
||
|
ordinalParse: /\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 sq;
|
||
|
|
||
|
}));
|