en-CA.js 852 B

123456789101112131415161718192021222324252627282930
  1. import { formatRelative } from "./en-US/_lib/formatRelative.js";
  2. import { localize } from "./en-US/_lib/localize.js";
  3. import { match } from "./en-US/_lib/match.js";
  4. import { formatDistance } from "./en-CA/_lib/formatDistance.js";
  5. import { formatLong } from "./en-CA/_lib/formatLong.js";
  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;