Blame view

天文台pc/tianwentai-ui/node_modules/date-fns/locale/fr-CA.mjs 949 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
29
30
31
32
33
34
35
  // Same as fr
  import { formatDistance } from "./fr/_lib/formatDistance.mjs";
  import { formatRelative } from "./fr/_lib/formatRelative.mjs";
  import { localize } from "./fr/_lib/localize.mjs";
  import { match } from "./fr/_lib/match.mjs";
  
  // Unique for fr-CA
  import { formatLong } from "./fr-CA/_lib/formatLong.mjs";
  
  /**
   * @category Locales
   * @summary French locale (Canada).
   * @language French
   * @iso-639-2 fra
   * @author Jean Dupouy [@izeau](https://github.com/izeau)
   * @author François B [@fbonzon](https://github.com/fbonzon)
   * @author Gabriele Petrioli [@gpetrioli](https://github.com/gpetrioli)
   */
  export const frCA = {
    code: "fr-CA",
    formatDistance: formatDistance,
    formatLong: formatLong,
    formatRelative: formatRelative,
    localize: localize,
    match: match,
  
    // Unique for fr-CA
    options: {
      weekStartsOn: 0 /* Sunday */,
      firstWeekContainsDate: 1,
    },
  };
  
  // Fallback for modularized imports:
  export default frCA;