tzm.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //! moment.js locale configuration
  2. ;(function (global, factory) {
  3. typeof exports === 'object' && typeof module !== 'undefined'
  4. && typeof require === 'function' ? factory(require('../moment')) :
  5. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  6. factory(global.moment)
  7. }(this, (function (moment) { 'use strict';
  8. var tzm = moment.defineLocale('tzm', {
  9. months : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
  10. monthsShort : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
  11. weekdays : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  12. weekdaysShort : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  13. weekdaysMin : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  14. longDateFormat : {
  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. calendar : {
  23. sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
  24. nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
  25. nextWeek: 'dddd [ⴴ] LT',
  26. lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
  27. lastWeek: 'dddd [ⴴ] LT',
  28. sameElse: 'L'
  29. },
  30. relativeTime : {
  31. future : 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
  32. past : 'ⵢⴰⵏ %s',
  33. s : 'ⵉⵎⵉⴽ',
  34. ss : '%d ⵉⵎⵉⴽ',
  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 12th is the first week of the year.
  49. }
  50. });
  51. return tzm;
  52. })));