en-CA.mjs 856 B

1234567891011121314151617181920212223242526272829
  1. import { formatRelative } from "./en-US/_lib/formatRelative.mjs";
  2. import { localize } from "./en-US/_lib/localize.mjs";
  3. import { match } from "./en-US/_lib/match.mjs";
  4. import { formatDistance } from "./en-CA/_lib/formatDistance.mjs";
  5. import { formatLong } from "./en-CA/_lib/formatLong.mjs";
  6. /**
  7. * @category Locales
  8. * @summary English locale (Canada).
  9. * @language English
  10. * @iso-639-2 eng
  11. * @author Mark Owsiak [@markowsiak](https://github.com/markowsiak)
  12. * @author Marco Imperatore [@mimperatore](https://github.com/mimperatore)
  13. */
  14. export const enCA = {
  15. code: "en-CA",
  16. formatDistance: formatDistance,
  17. formatLong: formatLong,
  18. formatRelative: formatRelative,
  19. localize: localize,
  20. match: match,
  21. options: {
  22. weekStartsOn: 0 /* Sunday */,
  23. firstWeekContainsDate: 1,
  24. },
  25. };
  26. // Fallback for modularized imports:
  27. export default enCA;