index.js 1.0 KB

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