UNPKG

905 BJavaScriptView Raw
1import { formatDistance } from "./zh-TW/_lib/formatDistance.js";
2import { formatLong } from "./zh-TW/_lib/formatLong.js";
3import { formatRelative } from "./zh-TW/_lib/formatRelative.js";
4import { localize } from "./zh-TW/_lib/localize.js";
5import { match } from "./zh-TW/_lib/match.js";
6
7/**
8 * @category Locales
9 * @summary Chinese Traditional locale.
10 * @language Chinese Traditional
11 * @iso-639-2 zho
12 * @author tonypai [@tpai](https://github.com/tpai)
13 * @author Jack Hsu [@jackhsu978](https://github.com/jackhsu978)
14 * @author Terrence Lam [@skyuplam](https://github.com/skyuplam)
15 */
16export const zhTW = {
17 code: "zh-TW",
18 formatDistance: formatDistance,
19 formatLong: formatLong,
20 formatRelative: formatRelative,
21 localize: localize,
22 match: match,
23 options: {
24 weekStartsOn: 1 /* Monday */,
25 firstWeekContainsDate: 4,
26 },
27};
28
29// Fallback for modularized imports:
30export default zhTW;