1 // moment.js locale configuration
2 // locale : Albanian (sq)
3 // author : Flakërim Ismani : https://github.com/flakerimi
4 // author: Menelion Elensúle: https://github.com/Oire (tests)
5 // author : Oerd Cukalla : https://github.com/oerd (fixes)
8 // Comment out broken wrapper, see T145382
9 /*if (typeof define === 'function' && define.amd) {
10 define(['moment'], factory); // AMD
11 } else if (typeof exports === 'object') {
12 module.exports = factory(require('../moment')); // Node
14 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
18 return moment
.defineLocale('sq', {
19 months
: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'),
20 monthsShort
: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
21 weekdays
: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'),
22 weekdaysShort
: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
23 weekdaysMin
: 'D_H_Ma_Më_E_P_Sh'.split('_'),
24 meridiem : function (hours
, minutes
, isLower
) {
25 return hours
< 12 ? 'PD' : 'MD';
32 LLL
: 'D MMMM YYYY LT',
33 LLLL
: 'dddd, D MMMM YYYY LT'
36 sameDay
: '[Sot në] LT',
37 nextDay
: '[Nesër në] LT',
38 nextWeek
: 'dddd [në] LT',
39 lastDay
: '[Dje në] LT',
40 lastWeek
: 'dddd [e kaluar në] LT',
58 ordinalParse
: /\d{1,2}\./,
61 dow
: 1, // Monday is the first day of the week.
62 doy
: 4 // The week that contains Jan 4th is the first week of the year.