Blame view

天文台pc/tianwentai-ui/node_modules/date-fns/locale/en-ZA.mjs 878 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  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;