UNPKG

892 BJavaScriptView Raw
1import { formatDistance } from "./it/_lib/formatDistance.js";
2import { formatLong } from "./it/_lib/formatLong.js";
3import { formatRelative } from "./it/_lib/formatRelative.js";
4import { localize } from "./it/_lib/localize.js";
5import { match } from "./it/_lib/match.js";
6
7/**
8 * @category Locales
9 * @summary Italian locale.
10 * @language Italian
11 * @iso-639-2 ita
12 * @author Alberto Restifo [@albertorestifo](https://github.com/albertorestifo)
13 * @author Giovanni Polimeni [@giofilo](https://github.com/giofilo)
14 * @author Vincenzo Carrese [@vin-car](https://github.com/vin-car)
15 */
16export const it = {
17 code: "it",
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 it;