zh-TW.js 905 B

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