en-ZA.js 874 B

1234567891011121314151617181920212223242526272829
  1. import { formatDistance } from "./en-US/_lib/formatDistance.js";
  2. import { formatRelative } from "./en-US/_lib/formatRelative.js";
  3. import { localize } from "./en-US/_lib/localize.js";
  4. import { match } from "./en-US/_lib/match.js";
  5. import { formatLong } from "./en-ZA/_lib/formatLong.js";
  6. /**
  7. * @category Locales
  8. * @summary English locale (South Africa).
  9. * @language English
  10. * @iso-639-2 eng
  11. * @author Shaila Kavrakova [@shaykav](https://github.com/shaykav)
  12. */
  13. export const enZA = {
  14. code: "en-ZA",
  15. formatDistance: formatDistance,
  16. formatLong: formatLong,
  17. formatRelative: formatRelative,
  18. localize: localize,
  19. match: match,
  20. options: {
  21. weekStartsOn: 0, // Sunday is the first day of the week.
  22. firstWeekContainsDate: 1, // The week that contains Jan 1st is the first week of the year.
  23. },
  24. };
  25. // Fallback for modularized imports:
  26. export default enZA;