Wrong date
# support
s
Hi there, I've successfully created a VAPI assistant and connected it to my GHL CRM. The assistant is making outbound calls as intended, and I've also connected my Google Calendar to my VAPI account. However, I'm running into an issue: during calls, the assistant is giving incorrect dates and times. For example, during a test call last Friday, I requested an appointment for the following Monday (which is today, August 4th), but the assistant responded with August 7th instead. I also noticed that it's referencing dates as if we were in 2023, which seems to be the root of the problem. I saw a few other tickets here on Discord reporting a similar issue, but I couldn’t find a clear solution. Can someone please help me fix this? Thanks in advance!
c
Add {{"now" | date: "%Y", "America/New_York"}} to the prompt and ensuring all tool calls use correct ISO 8601 dates with time zone..
t
Hey, @Sun Dias has this been fixed? Have you applied the suggested fix? If it doesn't work, kindly contact me. I'd like to help.
c
a gentle reminder to continue this thread.
s
Hey there! Yeah, @Tay I was able to fix this. Thank you!
t
You're welcome Kindly hmu if you've got any issue with vapi. I'll be glad to help
c
Glad the issue was resolved. Please reach out to us if you have any other questions regarding this issue
2 Views