https://retellai.com/?utm_source=discord&utm_medium=seo logo
Dates returned in PST, not EST
# ❓・bug-report
m
I have my Cal.com and Google Calendar both set to EST, but for some reason, the bot always returns times in PST (6 am to 2 pm, when it should be 9-5 EST). I had to manually type in the prompt that dates and times from the calendar will be given to it in PST, but it always has to convert that to EST, and all callers are in the EST timezone. Why is this happening?
c
can you share the tool result?
Here's the tool result with the prompt context I have telling it to switch to EST
And it also says 10 am - 2, which does not correspond to 9 am to 5 pm EST, so it's citing the wrong availability. This also happened yesterday while booking, which I can share that saved conversation as well.
Update: I found that the bookings actually weren't working due to the message I put in the context about changing the timezone manually each time from PST to EST. I took that out and acted like I was in PST (6 am - 2 pm), and booked for 6 am PST, and it booked at 9 am EST on my calendar, so the booking system doesn't have a problem; it's only the timezone, and I don't know where that's coming from (Google Calendar & Cal.com are both set to EST, so I think it might be coming from Retell itself since the company was founded in California)
I fixed the timezone problem. It was because I had the optional timezone set to America/Los_Angeles in my functions by default. I changed it and it fixed the problem. The bot is now saying there's a 'technician lunch' at 12 pm though and blocking off the hour, so I have to see what's happening there because I don't remember programming that in, but I'm going to close this thread
set it to solved*