UNPKG

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