tzm.js 2.3KB

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: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
  10. '_'
  11. ),
  12. weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  13. weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  14. weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  15. longDateFormat: {
  16. LT: 'HH:mm',
  17. LTS: 'HH:mm:ss',
  18. L: 'DD/MM/YYYY',
  19. LL: 'D MMMM YYYY',
  20. LLL: 'D MMMM YYYY HH:mm',
  21. LLLL: 'dddd D MMMM YYYY HH:mm',
  22. },
  23. calendar: {
  24. sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
  25. nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
  26. nextWeek: 'dddd [ⴴ] LT',
  27. lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
  28. lastWeek: 'dddd [ⴴ] LT',
  29. sameElse: 'L',
  30. },
  31. relativeTime: {
  32. future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
  33. past: 'ⵢⴰⵏ %s',
  34. s: 'ⵉⵎⵉⴽ',
  35. ss: '%d ⵉⵎⵉⴽ',
  36. m: 'ⵎⵉⵏⵓⴺ',
  37. mm: '%d ⵎⵉⵏⵓⴺ',
  38. h: 'ⵙⴰⵄⴰ',
  39. hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
  40. d: 'ⴰⵙⵙ',
  41. dd: '%d oⵙⵙⴰⵏ',
  42. M: 'ⴰⵢoⵓⵔ',
  43. MM: '%d ⵉⵢⵢⵉⵔⵏ',
  44. y: 'ⴰⵙⴳⴰⵙ',
  45. yy: '%d ⵉⵙⴳⴰⵙⵏ',
  46. },
  47. week: {
  48. dow: 6, // Saturday is the first day of the week.
  49. doy: 12, // The week that contains Jan 12th is the first week of the year.
  50. },
  51. });