tzm.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Central Atlas Tamazight [tzm]
  2. import dayjs from '../index';
  3. var locale = {
  4. name: 'tzm',
  5. weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  6. months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
  7. weekStart: 6,
  8. weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  9. monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
  10. weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  11. ordinal: function ordinal(n) {
  12. return n;
  13. },
  14. formats: {
  15. LT: 'HH:mm',
  16. LTS: 'HH:mm:ss',
  17. L: 'DD/MM/YYYY',
  18. LL: 'D MMMM YYYY',
  19. LLL: 'D MMMM YYYY HH:mm',
  20. LLLL: 'dddd D MMMM YYYY HH:mm'
  21. },
  22. relativeTime: {
  23. future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
  24. past: 'ⵢⴰⵏ %s',
  25. s: 'ⵉⵎⵉⴽ',
  26. m: 'ⵎⵉⵏⵓⴺ',
  27. mm: '%d ⵎⵉⵏⵓⴺ',
  28. h: 'ⵙⴰⵄⴰ',
  29. hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
  30. d: 'ⴰⵙⵙ',
  31. dd: '%d oⵙⵙⴰⵏ',
  32. M: 'ⴰⵢoⵓⵔ',
  33. MM: '%d ⵉⵢⵢⵉⵔⵏ',
  34. y: 'ⴰⵙⴳⴰⵙ',
  35. yy: '%d ⵉⵙⴳⴰⵙⵏ'
  36. }
  37. };
  38. dayjs.locale(locale, null, true);
  39. export default locale;