Hello,
I am using duckling dimension time for saving dates.
My intent looks like below:
- intent: inform
examples: |
- I want to book a meeting on [3 Oct 2021](time)
which gets saved in slot time as : [‘3 oct 2021’, ‘2021-10-03T00:00:00.000-07:00’].
Then I am using below function to check if the date is greater than today or not.
hey @ChrisRahme , no luck…!!
I have entered something like :I need a meeting room on 29sep 2021
and time shows up like this-> time: ['29sep 2021', '2021-09-29T00:00:00.000-07:00']
And when I just enter the time into slot, it shows as time: 2021-10-03T00:00:00.000-07:00 ,which is right.
Hey @chri, it is now behaving some odd.
Case I: When input is- I need an appointment on 3 Oct 2021Case I.zip (956.5 KB)
Case II: When explicitly input for date is 3 Oct 2021