index.js 942 B

1234567891011121314151617181920212223242526272829
  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 Catalan locale.
  10. * @language Catalan
  11. * @iso-639-2 cat
  12. * @author Guillermo Grau [@guigrpa]{@link https://github.com/guigrpa}
  13. * @author Alex Vizcaino [@avizcaino]{@link https://github.com/avizcaino}
  14. */
  15. var locale = {
  16. code: 'ca',
  17. formatDistance: formatDistance,
  18. formatLong: formatLong,
  19. formatRelative: formatRelative,
  20. localize: localize,
  21. match: match,
  22. options: {
  23. weekStartsOn: 1 /* Monday */,
  24. firstWeekContainsDate: 4
  25. }
  26. };
  27. export default locale;
  28. // throw new Error('ca locale is currently unavailable. Please check the progress of converting this locale to v2.0.0 in this issue on Github: TBA')