Blame view

天文台pc/tianwentai-ui/node_modules/date-fns/locale/fa-IR.mjs 783 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 "./fa-IR/_lib/formatDistance.mjs";
  import { formatLong } from "./fa-IR/_lib/formatLong.mjs";
  import { formatRelative } from "./fa-IR/_lib/formatRelative.mjs";
  import { localize } from "./fa-IR/_lib/localize.mjs";
  import { match } from "./fa-IR/_lib/match.mjs";
  
  /**
   * @category Locales
   * @summary Persian/Farsi locale (Iran).
   * @language Persian
   * @iso-639-2 ira
   * @author Morteza Ziyae [@mort3za](https://github.com/mort3za)
   */
  export const faIR = {
    code: "fa-IR",
    formatDistance: formatDistance,
    formatLong: formatLong,
    formatRelative: formatRelative,
    localize: localize,
    match: match,
    options: {
      weekStartsOn: 6 /* Saturday */,
      firstWeekContainsDate: 1,
    },
  };
  
  // Fallback for modularized imports:
  export default faIR;