microsoft / Recognizers-Text

Microsoft.Recognizers.Text provides recognition and resolution of numbers, units, date/time, etc. in multiple languages (ZH, EN, FR, ES, PT, DE, IT, TR, HI, NL. Partial support for JA, KO, AR, SV). Packages available at: https://www.nuget.org/profiles/Recognizers.Text, https://www.npmjs.com/~recognizers.text
MIT License
1.66k stars 429 forks source link

[EN DateTimeV2] "the MM/DD[/YYYY]" resolution fix #3103

Open andrew-gradinari opened 1 year ago

andrew-gradinari commented 1 year ago

Fix for an issue with EN DateTime where the date format is being incorrectly resolved when a date in the format of MM/DD or MM/DD/YYYY is preceded by the word "the". This results in the date being resolved as YYYY-DD-MM instead of YYYY-MM-DD.