UNPKG

1.01 kBJavaScriptView Raw
1import { formatDistance } from "./ja/_lib/formatDistance.js";
2import { formatLong } from "./ja/_lib/formatLong.js";
3import { formatRelative } from "./ja/_lib/formatRelative.js";
4import { localize } from "./ja/_lib/localize.js";
5import { match } from "./ja/_lib/match.js";
6
7/**
8 * @category Locales
9 * @summary Japanese locale.
10 * @language Japanese
11 * @iso-639-2 jpn
12 * @author Thomas Eilmsteiner [@DeMuu](https://github.com/DeMuu)
13 * @author Yamagishi Kazutoshi [@ykzts](https://github.com/ykzts)
14 * @author Luca Ban [@mesqueeb](https://github.com/mesqueeb)
15 * @author Terrence Lam [@skyuplam](https://github.com/skyuplam)
16 * @author Taiki IKeda [@so99ynoodles](https://github.com/so99ynoodles)
17 */
18export const ja = {
19 code: "ja",
20 formatDistance: formatDistance,
21 formatLong: formatLong,
22 formatRelative: formatRelative,
23 localize: localize,
24 match: match,
25 options: {
26 weekStartsOn: 0 /* Sunday */,
27 firstWeekContainsDate: 1,
28 },
29};
30
31// Fallback for modularized imports:
32export default ja;