sq.js 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. import moment from '../moment';
  7. export default moment.defineLocale('sq', {
  8. months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(
  9. '_'
  10. ),
  11. monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
  12. weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split(
  13. '_'
  14. ),
  15. weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
  16. weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),
  17. weekdaysParseExact: true,
  18. meridiemParse: /PD|MD/,
  19. isPM: function (input) {
  20. return input.charAt(0) === 'M';
  21. },
  22. meridiem: function (hours, minutes, isLower) {
  23. return hours < 12 ? 'PD' : 'MD';
  24. },
  25. longDateFormat: {
  26. LT: 'HH:mm',
  27. LTS: 'HH:mm:ss',
  28. L: 'DD/MM/YYYY',
  29. LL: 'D MMMM YYYY',
  30. LLL: 'D MMMM YYYY HH:mm',
  31. LLLL: 'dddd, D MMMM YYYY HH:mm',
  32. },
  33. calendar: {
  34. sameDay: '[Sot në] LT',
  35. nextDay: '[Nesër në] LT',
  36. nextWeek: 'dddd [në] LT',
  37. lastDay: '[Dje në] LT',
  38. lastWeek: 'dddd [e kaluar në] LT',
  39. sameElse: 'L',
  40. },
  41. relativeTime: {
  42. future: 'në %s',
  43. past: '%s më parë',
  44. s: 'disa sekonda',
  45. ss: '%d 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. dayOfMonthOrdinalParse: /\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. });