index.js 950 B

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