Recognizers-Text icon indicating copy to clipboard operation
Recognizers-Text copied to clipboard

[EN DateTimeV2] DateTime behaves differently when you add "at" and decimal point in time

Open arjungprs opened this issue 7 years ago • 0 comments

Describe the bug Consider this as an example : // E.g "I'll go back 8.30pm today" will return "2017-10-04 20:00:00" DateTimeRecognizer.RecognizeDateTime(query, culture);

when you add "at" ("I'll go back at 8.30pm today") it shows the 8.30 am as well. Which is clearly not morning 8 am. This seems like bug. I think it messes up when you add "at" and "decimal"point.

To Reproduce // E.g "I'll go back 8.30pm today" will return "2017-10-04 20:00:00" DateTimeRecognizer.RecognizeDateTime(query, culture);

when you add "at" ("I'll go back at 8.30pm today") it shows the 8.30 am as well. Which is clearly not morning 8 am. This seems like bug. I think it messes up when you add "at" and "decimal"point.

Expected behavior Should show only 8.30 PM

arjungprs avatar Dec 02 '19 00:12 arjungprs