zh-CN.js 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. import { formatDistance } from "./zh-CN/_lib/formatDistance.js";
  2. import { formatLong } from "./zh-CN/_lib/formatLong.js";
  3. import { formatRelative } from "./zh-CN/_lib/formatRelative.js";
  4. import { localize } from "./zh-CN/_lib/localize.js";
  5. import { match } from "./zh-CN/_lib/match.js";
  6. /**
  7. * @category Locales
  8. * @summary Chinese Simplified locale.
  9. * @language Chinese Simplified
  10. * @iso-639-2 zho
  11. * @author Changyu Geng [@KingMario](https://github.com/KingMario)
  12. * @author Song Shuoyun [@fnlctrl](https://github.com/fnlctrl)
  13. * @author sabrinaM [@sabrinamiao](https://github.com/sabrinamiao)
  14. * @author Carney Wu [@cubicwork](https://github.com/cubicwork)
  15. * @author Terrence Lam [@skyuplam](https://github.com/skyuplam)
  16. */
  17. export const zhCN = {
  18. code: "zh-CN",
  19. formatDistance: formatDistance,
  20. formatLong: formatLong,
  21. formatRelative: formatRelative,
  22. localize: localize,
  23. match: match,
  24. options: {
  25. weekStartsOn: 1 /* Monday */,
  26. firstWeekContainsDate: 4,
  27. },
  28. };
  29. // Fallback for modularized imports:
  30. export default zhCN;