DatePeriod Entity

TA

YouYesterday, 11:00 AMEdited

Hi Team,

I am using the DatePeriod entity in my bot and noticed inconsistent behavior while capturing date ranges.

For example: When I provide “Jan 01 to Jan 20”, the entity correctly captures it as month + date + current year (e.g., Jan 01, 2025 to Jan 20, 2025).

However, when I provide “Jan 21 to Jan 30”, the entity captures it as month + year (e.g., Jan 2021), instead of a date range.

Could someone please explain why the DatePeriod entity behaves differently for these inputs? is there a recommended way to handle such cases?

Thanks in advance!