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 Spanish locale.
  16. * @language Spanish
  17. * @iso-639-2 spa
  18. * @author Juan Angosto [@juanangosto]{@link https://github.com/juanangosto}
  19. * @author Guillermo Grau [@guigrpa]{@link https://github.com/guigrpa}
  20. * @author Fernando Agüero [@fjaguero]{@link https://github.com/fjaguero}
  21. * @author Gastón Haro [@harogaston]{@link https://github.com/harogaston}
  22. * @author Yago Carballo [@YagoCarballo]{@link https://github.com/YagoCarballo}
  23. */
  24. var locale = {
  25. code: 'es',
  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: 1
  34. }
  35. };
  36. var _default = locale;
  37. exports.default = _default;
  38. module.exports = exports.default;