tzm.js 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // moment.js language configuration
  2. // language : Morocco Central Atlas Tamaziɣt (tzm)
  3. // author : Abdel Said : https://github.com/abdelsaid
  4. (function (factory) {
  5. if (typeof define === 'function' && define.amd) {
  6. define(['moment'], factory); // AMD
  7. } else if (typeof exports === 'object') {
  8. module.exports = factory(require('../moment')); // Node
  9. } else {
  10. factory(window.moment); // Browser global
  11. }
  12. }(function (moment) {
  13. return moment.lang('tzm', {
  14. months : "ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),
  15. monthsShort : "ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),
  16. weekdays : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
  17. weekdaysShort : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
  18. weekdaysMin : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
  19. longDateFormat : {
  20. LT : "HH:mm",
  21. L : "DD/MM/YYYY",
  22. LL : "D MMMM YYYY",
  23. LLL : "D MMMM YYYY LT",
  24. LLLL : "dddd D MMMM YYYY LT"
  25. },
  26. calendar : {
  27. sameDay: "[ⴰⵙⴷⵅ ⴴ] LT",
  28. nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
  29. nextWeek: 'dddd [ⴴ] LT',
  30. lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
  31. lastWeek: 'dddd [ⴴ] LT',
  32. sameElse: 'L'
  33. },
  34. relativeTime : {
  35. future : "ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",
  36. past : "ⵢⴰⵏ %s",
  37. s : "ⵉⵎⵉⴽ",
  38. m : "ⵎⵉⵏⵓⴺ",
  39. mm : "%d ⵎⵉⵏⵓⴺ",
  40. h : "ⵙⴰⵄⴰ",
  41. hh : "%d ⵜⴰⵙⵙⴰⵄⵉⵏ",
  42. d : "ⴰⵙⵙ",
  43. dd : "%d oⵙⵙⴰⵏ",
  44. M : "ⴰⵢoⵓⵔ",
  45. MM : "%d ⵉⵢⵢⵉⵔⵏ",
  46. y : "ⴰⵙⴳⴰⵙ",
  47. yy : "%d ⵉⵙⴳⴰⵙⵏ"
  48. },
  49. week : {
  50. dow : 6, // Saturday is the first day of the week.
  51. doy : 12 // The week that contains Jan 1st is the first week of the year.
  52. }
  53. });
  54. }));