tzm-latn.js 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
  16. '_'
  17. ),
  18. weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  19. weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  20. weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  21. longDateFormat: {
  22. LT: 'HH:mm',
  23. LTS: 'HH:mm:ss',
  24. L: 'DD/MM/YYYY',
  25. LL: 'D MMMM YYYY',
  26. LLL: 'D MMMM YYYY HH:mm',
  27. LLLL: 'dddd D MMMM YYYY HH:mm',
  28. },
  29. calendar: {
  30. sameDay: '[asdkh g] LT',
  31. nextDay: '[aska g] LT',
  32. nextWeek: 'dddd [g] LT',
  33. lastDay: '[assant g] LT',
  34. lastWeek: 'dddd [g] LT',
  35. sameElse: 'L',
  36. },
  37. relativeTime: {
  38. future: 'dadkh s yan %s',
  39. past: 'yan %s',
  40. s: 'imik',
  41. ss: '%d imik',
  42. m: 'minuḍ',
  43. mm: '%d minuḍ',
  44. h: 'saɛa',
  45. hh: '%d tassaɛin',
  46. d: 'ass',
  47. dd: '%d ossan',
  48. M: 'ayowr',
  49. MM: '%d iyyirn',
  50. y: 'asgas',
  51. yy: '%d isgasn',
  52. },
  53. week: {
  54. dow: 6, // Saturday is the first day of the week.
  55. doy: 12, // The week that contains Jan 12th is the first week of the year.
  56. },
  57. });
  58. return tzmLatn;
  59. })));