index.js 939 B

12345678910111213141516171819202122232425262728293031
  1. // Same as fr
  2. import formatDistance from "../fr/_lib/formatDistance/index.js";
  3. import formatRelative from "../fr/_lib/formatRelative/index.js";
  4. import localize from "../fr/_lib/localize/index.js";
  5. import match from "../fr/_lib/match/index.js";
  6. // Unique for fr-CA
  7. import formatLong from "./_lib/formatLong/index.js";
  8. /**
  9. * @type {Locale}
  10. * @category Locales
  11. * @summary French locale (Canada).
  12. * @language French
  13. * @iso-639-2 fra
  14. * @author Jean Dupouy [@izeau]{@link https://github.com/izeau}
  15. * @author François B [@fbonzon]{@link https://github.com/fbonzon}
  16. * @author Gabriele Petrioli [@gpetrioli]{@link https://github.com/gpetrioli}
  17. */
  18. var locale = {
  19. code: 'fr-CA',
  20. formatDistance: formatDistance,
  21. formatLong: formatLong,
  22. formatRelative: formatRelative,
  23. localize: localize,
  24. match: match,
  25. // Unique for fr-CA
  26. options: {
  27. weekStartsOn: 0 /* Sunday */,
  28. firstWeekContainsDate: 1
  29. }
  30. };
  31. export default locale;