continuing-cyan•17mo ago
TIMEZONES ON AI ASSISTANT
On my AI Assistant the timezone keeps on defualting to UTC instead of GMT+1. How do I change this?
5 Replies
In Voiceflow, the timezone setting for your AI Assistant is not directly adjustable. The system defaults to Coordinated Universal Time (UTC) and doesn't currently support changing the timezone to GMT+1 or any other timezone. This is because the AI Assistant operates on a global scale and needs a standard time reference, which is UTC in this case.
However, you can handle different timezones within your project's design. For instance, if you're using a date or time in your project, you can add or subtract hours from the current time to match your desired timezone. This would need to be done programmatically within your project's flow.
Remember, when dealing with time-sensitive operations, it's crucial to account for these differences in your project design to ensure your AI Assistant behaves as expected for users in different timezones.
Please note that this is a workaround and not a direct setting change. We understand the need for more flexible timezone settings and are always working to improve our platform based on user feedback.
You will need to set that yourself. You can do that by setting a variable in a Javascript / Set step.
You should be able to easily use chatGPT to get the code.
continuing-cyanOP•17mo ago
Tried all that but doesnt seem to be working
I think I answered this somewhere else.
you can use a Javascript step to set your local timezone.
then use it where ever you want.
Assuming you are using the chat widget, you should be able to get user timezone from the browser using JavaScript.
Then you can pass that value when loading the chat widget using an event. Get the value from {last_event} variable in your agent and use it as needed.