UNPKG

1.99 kBJavaScriptView Raw
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
5//! author : Oerd Cukalla : https://github.com/oerd
6
7import moment from '../moment';
8
9export default moment.defineLocale('sq', {
10 months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(
11 '_'
12 ),
13 monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
14 weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split(
15 '_'
16 ),
17 weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
18 weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),
19 weekdaysParseExact: true,
20 meridiemParse: /PD|MD/,
21 isPM: function (input) {
22 return input.charAt(0) === 'M';
23 },
24 meridiem: function (hours, minutes, isLower) {
25 return hours < 12 ? 'PD' : 'MD';
26 },
27 longDateFormat: {
28 LT: 'HH:mm',
29 LTS: 'HH:mm:ss',
30 L: 'DD/MM/YYYY',
31 LL: 'D MMMM YYYY',
32 LLL: 'D MMMM YYYY HH:mm',
33 LLLL: 'dddd, D MMMM YYYY HH:mm',
34 },
35 calendar: {
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',
41 sameElse: 'L',
42 },
43 relativeTime: {
44 future: 'në %s',
45 past: '%s më parë',
46 s: 'disa sekonda',
47 ss: '%d sekonda',
48 m: 'një minutë',
49 mm: '%d minuta',
50 h: 'një orë',
51 hh: '%d orë',
52 d: 'një ditë',
53 dd: '%d ditë',
54 M: 'një muaj',
55 MM: '%d muaj',
56 y: 'një vit',
57 yy: '%d vite',
58 },
59 dayOfMonthOrdinalParse: /\d{1,2}\./,
60 ordinal: '%d.',
61 week: {
62 dow: 1, // Monday is the first day of the week.
63 doy: 4, // The week that contains Jan 4th is the first week of the year.
64 },
65});