Assistant issues for time in IST
# support
r
Assistant appears to be providing an arbitrary time when asked for the current time, rather than the correct current time in IST
v
Thank you for sharing your observation about the assistant providing an arbitrary time for IST. Based on the information I have found, I do not have specific details about why this issue is occurring or how to resolve it. If you have any other questions or need further clarification, please let me know!
u
Ask the vapi Ai in the dashboard to provide you with a schema you will add to your prompt and other instructions
c
Please insert this code snippet anywhere into your assistant prompt to provide correct date and times. Modify the timezone as needed:
Copy code
The current date and time is {{"now" | date: "%A, %B %d, %Y, %I:%M %p", "Asia/Kolkata"}}
More information on this can be found on the documentation:
2 Views