Timezone Issue, Assistant in the past
# support
t
Hey guys, I am having a issue when trying to book an appointment, my assistant thinks he is in 2023. I have another assistant that executes the exctly same tool with no problem. But this new assistant gives me error, not sure if is related to your guys new updates. Any help will be welcome. Thank You!
v
Hi Thiago! 👋 Sorry to hear you're having timezone issues with your assistant. I wasn't able to find specific information about which recent updates might be causing your assistant to think it's in 2023, but I can definitely help you troubleshoot and fix this issue! Here are some steps you can take to resolve the timezone problem: ### 1. Add Current Date/Time to System Prompt The most effective solution appears to be adding the current date and time directly in your system prompt using dynamic variables:
Copy code
The current date is {{"now" | date: "%A, %B %d, %Y", "America/New_York"}} and the time is {{"now" | date: "%I:%M %p", "America/New_York"}}.
Make sure to adjust the timezone ("America/New_York" in this example) to match your desired timezone. [Several users have reported](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334271734332784773) this fixed similar issues. ### 2. Switch to GPT-4o Some users found that switching the model to GPT-4o in combination with the date/time prompt fixed their timezone issues. This might be worth trying if the first step alone doesn't work. ### 3. Check Assistant Configuration Ensure your assistant ID is correctly set on the phone number and review the debugging artifacts. The issue might be that your assistant is [using a generic configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1338961731367604284) instead of the specific settings from its dashboard. ### 4. Verify Date Variables and Formats If you're using external tools like Make.com, ensure that the date variable is dynamic and correctly formatted, and that the date format matches what VAPI expects. ### 5. Check System Timezone Settings Verify that your system's timezone settings are correctly configured, as this can sometimes affect how datetime values are displayed. Is there anything specific about your assistant setup that you'd like me to help with further? Sources:
v
Message marked as helpful by @Thiago! 🎉
t
Problem Solved @Vapi Support Bot Thank you!
v
Great to hear that, Thiago! 🎉 I'm glad the problem with your assistant's timezone issue has been resolved. It's always satisfying when troubleshooting steps work out successfully. Is there anything else I can help you with regarding your Vapi assistants?
v
Message marked as helpful by @Thiago! 🎉
p
checking if this is resolved/solved for you?
2 Views