index.js 759 B

12345678910111213141516171819202122232425262728
  1. import formatDistance from "./_lib/formatDistance/index.js";
  2. import formatLong from "./_lib/formatLong/index.js";
  3. import formatRelative from "./_lib/formatRelative/index.js";
  4. import localize from "./_lib/localize/index.js";
  5. import match from "./_lib/match/index.js";
  6. /**
  7. * @type {Locale}
  8. * @category Locales
  9. * @summary Arabic locale (Moroccan Arabic).
  10. * @language Moroccan Arabic
  11. * @iso-639-2 ara
  12. * @author Achraf Rrami [@rramiachraf]{@link https://github.com/rramiachraf}
  13. */
  14. var locale = {
  15. code: 'ar-MA',
  16. formatDistance: formatDistance,
  17. formatLong: formatLong,
  18. formatRelative: formatRelative,
  19. localize: localize,
  20. match: match,
  21. options: {
  22. // Monday is 1
  23. weekStartsOn: 1,
  24. firstWeekContainsDate: 1
  25. }
  26. };
  27. export default locale;