tzm-latn.js 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. //! moment.js locale configuration
  2. //! locale : Central Atlas Tamazight Latin [tzm-latn]
  3. //! author : Abdel Said : https://github.com/abdelsaid
  4. ;(function (global, factory) {
  5. typeof exports === 'object' && typeof module !== 'undefined'
  6. && typeof require === 'function' ? factory(require('../moment')) :
  7. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  8. factory(global.moment)
  9. }(this, (function (moment) { 'use strict';
  10. //! moment.js locale configuration
  11. var tzmLatn = moment.defineLocale('tzm-latn', {
  12. months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
  13. '_'
  14. ),
  15. monthsShort:
  16. 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
  17. '_'
  18. ),
  19. weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  20. weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  21. weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  22. longDateFormat: {
  23. LT: 'HH:mm',
  24. LTS: 'HH:mm:ss',
  25. L: 'DD/MM/YYYY',
  26. LL: 'D MMMM YYYY',
  27. LLL: 'D MMMM YYYY HH:mm',
  28. LLLL: 'dddd D MMMM YYYY HH:mm',
  29. },
  30. calendar: {
  31. sameDay: '[asdkh g] LT',
  32. nextDay: '[aska g] LT',
  33. nextWeek: 'dddd [g] LT',
  34. lastDay: '[assant g] LT',
  35. lastWeek: 'dddd [g] LT',
  36. sameElse: 'L',
  37. },
  38. relativeTime: {
  39. future: 'dadkh s yan %s',
  40. past: 'yan %s',
  41. s: 'imik',
  42. ss: '%d imik',
  43. m: 'minuḍ',
  44. mm: '%d minuḍ',
  45. h: 'saɛa',
  46. hh: '%d tassaɛin',
  47. d: 'ass',
  48. dd: '%d ossan',
  49. M: 'ayowr',
  50. MM: '%d iyyirn',
  51. y: 'asgas',
  52. yy: '%d isgasn',
  53. },
  54. week: {
  55. dow: 6, // Saturday is the first day of the week.
  56. doy: 12, // The week that contains Jan 12th is the first week of the year.
  57. },
  58. });
  59. return tzmLatn;
  60. })));