timepiece/node_modules/date-fns/locale/en-ZA.mjs

29 lines
878 B
JavaScript

import { formatDistance } from "./en-US/_lib/formatDistance.mjs";
import { formatRelative } from "./en-US/_lib/formatRelative.mjs";
import { localize } from "./en-US/_lib/localize.mjs";
import { match } from "./en-US/_lib/match.mjs";
import { formatLong } from "./en-ZA/_lib/formatLong.mjs";
/**
* @category Locales
* @summary English locale (South Africa).
* @language English
* @iso-639-2 eng
* @author Shaila Kavrakova [@shaykav](https://github.com/shaykav)
*/
export const enZA = {
code: "en-ZA",
formatDistance: formatDistance,
formatLong: formatLong,
formatRelative: formatRelative,
localize: localize,
match: match,
options: {
weekStartsOn: 0, // Sunday is the first day of the week.
firstWeekContainsDate: 1, // The week that contains Jan 1st is the first week of the year.
},
};
// Fallback for modularized imports:
export default enZA;