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