sq.js 2.4 KB

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