UNPKG

1.07 kBJavaScriptView Raw
1import * as en from "./locales/en/index.js";
2import { Chrono } from "./chrono.js";
3import { ParsingResult, ParsingComponents, ReferenceWithTimezone } from "./results.js";
4import { Meridiem, Weekday } from "./types.js";
5export { en, Chrono, ParsingResult, ParsingComponents, ReferenceWithTimezone };
6export { Meridiem, Weekday };
7import * as de from "./locales/de/index.js";
8import * as fr from "./locales/fr/index.js";
9import * as ja from "./locales/ja/index.js";
10import * as pt from "./locales/pt/index.js";
11import * as nl from "./locales/nl/index.js";
12import * as zh from "./locales/zh/index.js";
13import * as ru from "./locales/ru/index.js";
14import * as es from "./locales/es/index.js";
15import * as uk from "./locales/uk/index.js";
16export { de, fr, ja, pt, nl, zh, ru, es, uk };
17export const strict = en.strict;
18export const casual = en.casual;
19export function parse(text, ref, option) {
20 return casual.parse(text, ref, option);
21}
22export function parseDate(text, ref, option) {
23 return casual.parseDate(text, ref, option);
24}
25//# sourceMappingURL=index.js.map
\No newline at end of file