Open gagan-bansal opened 2 years ago
I am planning to migrate to 2.x.
Here is one thing, parsing of text "in June of 2022" is not parsed while In v1.x I it was parsed properly. Here is the sample:
> chrono.parse('in June of 2022') [ ParsingResult { reference: ReferenceWithTimezone { instant: 2022-07-29T16:33:16.305Z }, refDate: 2022-07-29T16:33:16.305Z, index: 3, text: 'June', start: ParsingComponents { reference: [ReferenceWithTimezone], knownValues: [Object], impliedValues: [Object] }, end: null } ]
Here is output from when used v1.x:
> ch.parse('in June of 2022') [ ParsedResult { ref: 2022-07-29T16:39:15.441Z, index: 3, text: 'June of 2022', tags: { ENMonthNameParser: true, ENTimeExpressionParser: true, ENMergeDateAndTimeRefiner: true }, start: ParsedComponents { knownValues: [Object], impliedValues: [Object] } } ]
I am planning to migrate to 2.x.
Here is one thing, parsing of text "in June of 2022" is not parsed while In v1.x I it was parsed properly. Here is the sample:
Here is output from when used v1.x: