sq.js 2.5 KB

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