mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 21:24:59 +05:00
76 lines
2.5 KiB
JavaScript
76 lines
2.5 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
|
|
//! author : Oerd Cukalla : https://github.com/oerd
|
|
|
|
;(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 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('_'),
|
|
weekdaysParseExact: true,
|
|
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: '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: '[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',
|
|
ss: '%d 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',
|
|
},
|
|
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 sq;
|
|
|
|
})));
|