Blame view

天文台pc/tianwentai-ui/node_modules/date-fns/locale/th.mjs 865 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
  import { formatDistance } from "./th/_lib/formatDistance.mjs";
  import { formatLong } from "./th/_lib/formatLong.mjs";
  import { formatRelative } from "./th/_lib/formatRelative.mjs";
  import { localize } from "./th/_lib/localize.mjs";
  import { match } from "./th/_lib/match.mjs";
  
  /**
   * @category Locales
   * @summary Thai locale.
   * @language Thai
   * @iso-639-2 tha
   * @author Athiwat Hirunworawongkun [@athivvat](https://github.com/athivvat)
   * @author [@hawkup](https://github.com/hawkup)
   * @author  Jirawat I. [@nodtem66](https://github.com/nodtem66)
   */
  export const th = {
    code: "th",
    formatDistance: formatDistance,
    formatLong: formatLong,
    formatRelative: formatRelative,
    localize: localize,
    match: match,
    options: {
      weekStartsOn: 0 /* Sunday */,
      firstWeekContainsDate: 1,
    },
  };
  
  // Fallback for modularized imports:
  export default th;