sq.js (2559B)
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 7;(function (global, factory) { 8 typeof exports === 'object' && typeof module !== 'undefined' 9 && typeof require === 'function' ? factory(require('../moment')) : 10 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11 factory(global.moment) 12}(this, (function (moment) { 'use strict'; 13 14 //! moment.js locale configuration 15 16 var sq = moment.defineLocale('sq', { 17 months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split( 18 '_' 19 ), 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 '_' 23 ), 24 weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), 25 weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'), 26 weekdaysParseExact: true, 27 meridiemParse: /PD|MD/, 28 isPM: function (input) { 29 return input.charAt(0) === 'M'; 30 }, 31 meridiem: function (hours, minutes, isLower) { 32 return hours < 12 ? 'PD' : 'MD'; 33 }, 34 longDateFormat: { 35 LT: 'HH:mm', 36 LTS: 'HH:mm:ss', 37 L: 'DD/MM/YYYY', 38 LL: 'D MMMM YYYY', 39 LLL: 'D MMMM YYYY HH:mm', 40 LLLL: 'dddd, D MMMM YYYY HH:mm', 41 }, 42 calendar: { 43 sameDay: '[Sot në] LT', 44 nextDay: '[Nesër në] LT', 45 nextWeek: 'dddd [në] LT', 46 lastDay: '[Dje në] LT', 47 lastWeek: 'dddd [e kaluar në] LT', 48 sameElse: 'L', 49 }, 50 relativeTime: { 51 future: 'në %s', 52 past: '%s më parë', 53 s: 'disa sekonda', 54 ss: '%d sekonda', 55 m: 'një minutë', 56 mm: '%d minuta', 57 h: 'një orë', 58 hh: '%d orë', 59 d: 'një ditë', 60 dd: '%d ditë', 61 M: 'një muaj', 62 MM: '%d muaj', 63 y: 'një vit', 64 yy: '%d vite', 65 }, 66 dayOfMonthOrdinalParse: /\d{1,2}\./, 67 ordinal: '%d.', 68 week: { 69 dow: 1, // Monday is the first day of the week. 70 doy: 4, // The week that contains Jan 4th is the first week of the year. 71 }, 72 }); 73 74 return sq; 75 76})));