a9cf9497219132ba6df4395594829fd7284d20ed5b2a834c503a781ac32134327a5fceb7b0517ff42e9145714e87e5d58ad9b0d5932062d07e8a3f7ad342d0 1.9 KB

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