UNPKG

date-fns

Version:

Modern JavaScript date utility library

30 lines (29 loc) 1 kB
import formatDistance from './_lib/formatDistance/index.js'; import formatLong from './_lib/formatLong/index.js'; import formatRelative from './_lib/formatRelative/index.js'; import localize from './_lib/localize/index.js'; import match from './_lib/match/index.js'; /** * @type {Locale} * @category Locales * @summary Japanese locale. * @language Japanese * @iso-639-2 jpn * @author Thomas Eilmsteiner [@DeMuu]{@link https://github.com/DeMuu} * @author Yamagishi Kazutoshi [@ykzts]{@link https://github.com/ykzts} * @author Luca Ban [@mesqueeb]{@link https://github.com/mesqueeb} */ var locale = { formatDistance: formatDistance, formatLong: formatLong, formatRelative: formatRelative, localize: localize, match: match, options: { weekStartsOn: 1 /* Monday */ , firstWeekContainsDate: 1 } }; export default locale; // throw new Error('ja locale is currently unavailable. Please check the progress of converting this locale to v2.0.0 in this issue on Github: TBA')