sv.js 899 B

123456789101112131415161718192021222324252627282930
  1. import { formatDistance } from "./sv/_lib/formatDistance.js";
  2. import { formatLong } from "./sv/_lib/formatLong.js";
  3. import { formatRelative } from "./sv/_lib/formatRelative.js";
  4. import { localize } from "./sv/_lib/localize.js";
  5. import { match } from "./sv/_lib/match.js";
  6. /**
  7. * @category Locales
  8. * @summary Swedish locale.
  9. * @language Swedish
  10. * @iso-639-2 swe
  11. * @author Johannes Ulén [@ejulen](https://github.com/ejulen)
  12. * @author Alexander Nanberg [@alexandernanberg](https://github.com/alexandernanberg)
  13. * @author Henrik Andersson [@limelights](https://github.com/limelights)
  14. */
  15. export const sv = {
  16. code: "sv",
  17. formatDistance: formatDistance,
  18. formatLong: formatLong,
  19. formatRelative: formatRelative,
  20. localize: localize,
  21. match: match,
  22. options: {
  23. weekStartsOn: 1 /* Monday */,
  24. firstWeekContainsDate: 4,
  25. },
  26. };
  27. // Fallback for modularized imports:
  28. export default sv;