Custom commands datetime parameter timezone
I'm using custom commands from https://speech.microsoft.com/
I have a command that uses a datetime parameter
when the model is asking for that parameter and I say "now" or "in one hour" for example, the LUIS model is getting the date almost perfectly but the time zone is totally different at the one I have or the LUIS authoring has, is any way to configure it ? or how can I know which is to calculate the local time.
Looks like it is taking a Europe timezone don't know why
Hello @Gerardo Pagliardini
Thanks for reaching out to us, could you please let us know if are you following this guidance to create a custom command for voice assistance? https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/quickstart-custom-commands-application
Sign in to comment
Yes, but the model is working fine, that is not the issue, let me give you more context:
I have a command to add reminders with 2 paramenters:
ReminderDatetime (Datetime): Required
ReminderSubject (String): Required
My Authoring Resource is in West US
My Prediction Resource is in West US
My Local time is in East US
DateTime values are working perfectly if I'm following this format luis-reference-prebuilt-datetimev2
For example when I mention a complete time, like "Next Saturday at 11 PM" it is working fine.
But when I try to say "Now", or +"In an hour", for example, the timezone of the recognized date is not on West US or East US
Eastern time was 2022-02-11 5:55, West US I think was 2022-02-11 2:55 and the recognizer returned 2022-02-11 11:55:24
It is calculating very well the hour of difference from "now", for example but in a different timezone
My question is : Why the time zone of the recognizer is different? is there a way to configure that? if not, where can I find the timezone the recognizer is using?