tzm.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //! moment.js locale configuration
  2. //! locale : Central Atlas Tamazight [tzm]
  3. //! author : Abdel Said : https://github.com/abdelsaid
  4. import moment from '../moment';
  5. export default moment.defineLocale('tzm', {
  6. months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
  7. '_'
  8. ),
  9. monthsShort:
  10. 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
  11. '_'
  12. ),
  13. weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  14. weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  15. weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  16. longDateFormat: {
  17. LT: 'HH:mm',
  18. LTS: 'HH:mm:ss',
  19. L: 'DD/MM/YYYY',
  20. LL: 'D MMMM YYYY',
  21. LLL: 'D MMMM YYYY HH:mm',
  22. LLLL: 'dddd D MMMM YYYY HH:mm',
  23. },
  24. calendar: {
  25. sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
  26. nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
  27. nextWeek: 'dddd [ⴴ] LT',
  28. lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
  29. lastWeek: 'dddd [ⴴ] LT',
  30. sameElse: 'L',
  31. },
  32. relativeTime: {
  33. future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
  34. past: 'ⵢⴰⵏ %s',
  35. s: 'ⵉⵎⵉⴽ',
  36. ss: '%d ⵉⵎⵉⴽ',
  37. m: 'ⵎⵉⵏⵓⴺ',
  38. mm: '%d ⵎⵉⵏⵓⴺ',
  39. h: 'ⵙⴰⵄⴰ',
  40. hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
  41. d: 'ⴰⵙⵙ',
  42. dd: '%d oⵙⵙⴰⵏ',
  43. M: 'ⴰⵢoⵓⵔ',
  44. MM: '%d ⵉⵢⵢⵉⵔⵏ',
  45. y: 'ⴰⵙⴳⴰⵙ',
  46. yy: '%d ⵉⵙⴳⴰⵙⵏ',
  47. },
  48. week: {
  49. dow: 6, // Saturday is the first day of the week.
  50. doy: 12, // The week that contains Jan 12th is the first week of the year.
  51. },
  52. });