Closed ilDon closed 5 months ago
Chrono incorrectly parses the phrase "the money" as a date in the sentence "do I have the money".
"chrono-node": "^2.7.5"
const configuration = chrono.casual.defaultConfig.createCasualConfiguration(false); const chronoInstance = new chrono.Chrono(configuration); const forwardFrom = options?.forwardFrom || new Date();
const result = chronoInstance.parse('do I have the money', { forwardDate: true, startDayHour: 8 });
Expected result: No date should be recognized. Actual result: "the money" is incorrectly parsed as a date.
The parser should recognize that "the money" is not a date and should not return any date-related information for the given sentence.
The parser incorrectly identifies "the money" as a date.
I cannot reproduce this issue. Could you take a look at the test I added in c5ebdd57cab0d956a6a2a6aa7bde0b018d008e38?
Chrono incorrectly parses the phrase "the money" as a date in the sentence "do I have the money".
Environment
"chrono-node": "^2.7.5"
Steps to Reproduce
Expected result: No date should be recognized. Actual result: "the money" is incorrectly parsed as a date.
Expected Behavior
The parser should recognize that "the money" is not a date and should not return any date-related information for the given sentence.
Actual Behavior
The parser incorrectly identifies "the money" as a date.