index.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. "use strict";
  2. var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
  3. Object.defineProperty(exports, "__esModule", {
  4. value: true
  5. });
  6. exports.default = void 0;
  7. var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js"));
  8. var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js"));
  9. var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js"));
  10. var _index4 = _interopRequireDefault(require("./_lib/localize/index.js"));
  11. var _index5 = _interopRequireDefault(require("./_lib/match/index.js"));
  12. /**
  13. * @type {Locale}
  14. * @category Locales
  15. * @summary Chinese Simplified locale.
  16. * @language Chinese Simplified
  17. * @iso-639-2 zho
  18. * @author Changyu Geng [@KingMario]{@link https://github.com/KingMario}
  19. * @author Song Shuoyun [@fnlctrl]{@link https://github.com/fnlctrl}
  20. * @author sabrinaM [@sabrinamiao]{@link https://github.com/sabrinamiao}
  21. * @author Carney Wu [@cubicwork]{@link https://github.com/cubicwork}
  22. * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam}
  23. */
  24. var locale = {
  25. code: 'zh-CN',
  26. formatDistance: _index.default,
  27. formatLong: _index2.default,
  28. formatRelative: _index3.default,
  29. localize: _index4.default,
  30. match: _index5.default,
  31. options: {
  32. weekStartsOn: 1 /* Monday */,
  33. firstWeekContainsDate: 4
  34. }
  35. };
  36. var _default = locale;
  37. exports.default = _default;
  38. module.exports = exports.default;