UNPKG

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