index.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 Swedish locale.
  16. * @language Swedish
  17. * @iso-639-2 swe
  18. * @author Johannes Ulén [@ejulen]{@link https://github.com/ejulen}
  19. * @author Alexander Nanberg [@alexandernanberg]{@link https://github.com/alexandernanberg}
  20. * @author Henrik Andersson [@limelights]{@link https://github.com/limelights}
  21. */
  22. var locale = {
  23. code: 'sv',
  24. formatDistance: _index.default,
  25. formatLong: _index2.default,
  26. formatRelative: _index3.default,
  27. localize: _index4.default,
  28. match: _index5.default,
  29. options: {
  30. weekStartsOn: 1 /* Monday */,
  31. firstWeekContainsDate: 4
  32. }
  33. };
  34. var _default = locale;
  35. exports.default = _default;
  36. module.exports = exports.default;