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.

56 lines
2.7 KiB

  1. //! moment.js locale configuration
  2. //! locale : Morocco Central Atlas Tamaziɣt (tzm)
  3. //! author : Abdel Said : https://github.com/abdelsaid
  4. (function (global, factory) {
  5. typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
  6. typeof define === 'function' && define.amd ? define(['moment'], factory) :
  7. factory(global.moment)
  8. }(this, function (moment) { 'use strict';
  9. var tzm = moment.defineLocale('tzm', {
  10. months : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
  11. monthsShort : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
  12. weekdays : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  13. weekdaysShort : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  14. weekdaysMin : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  15. longDateFormat : {
  16. LT : 'HH:mm',
  17. LTS: 'LT:ss',
  18. L : 'DD/MM/YYYY',
  19. LL : 'D MMMM YYYY',
  20. LLL : 'D MMMM YYYY LT',
  21. LLLL : 'dddd D MMMM YYYY LT'
  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. m : 'ⵎⵉⵏⵓⴺ',
  36. mm : '%d ⵎⵉⵏⵓⴺ',
  37. h : 'ⵙⴰⵄⴰ',
  38. hh : '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
  39. d : 'ⴰⵙⵙ',
  40. dd : '%d oⵙⵙⴰⵏ',
  41. M : 'ⴰⵢoⵓⵔ',
  42. MM : '%d ⵉⵢⵢⵉⵔⵏ',
  43. y : 'ⴰⵙⴳⴰⵙ',
  44. yy : '%d ⵉⵙⴳⴰⵙⵏ'
  45. },
  46. week : {
  47. dow : 6, // Saturday is the first day of the week.
  48. doy : 12 // The week that contains Jan 1st is the first week of the year.
  49. }
  50. });
  51. return tzm;
  52. }));