You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
2.4 KiB

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