Timezone not works #21840
Replies: 2 comments 1 reply
-
Hi @luispimenta! I'm Dosu and I’m helping the cal.com team. The issue is likely due to how the API interprets the start time you send. When you provide To get the correct time, you should send the start time in UTC that matches 9:00 AM in Europe/Lisbon. For June 16, 2025, 9:00 AM in Lisbon is 8:00 AM UTC, so your payload should be: "start": "2025-06-16T08:00:00Z" The API always expects the If you want to automate this, convert your local time to UTC before sending it to the API. That should resolve the 1-hour offset you’re seeing. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
@dosu But this is not correct, if I send one hour less, the return of the API will also be one hour less, and I use the return of the API to inform the customer the time that was actually scheduled, so how do I have to treat the shipping? Once you have the return, do another treatment to inform the user, this can give many problems, You have to have a way to send correct in the API, and the creation and the return already includes the time or summer time |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm creating a booking via API and everything is working perfectly:
json sending:
`{
"attendee":
{
"name":
"Luis Pimenta",
"timeZone":
"Europe/Lisbon",
"phoneNumber":
"19996873333",
"email":
"xxx@gmail.com"
},
"start":
"2025-06-16T09:00:00",
"eventTypeId":
2386141
}
}`
and in return:
`"status":
"accepted",
"start":
"2025-06-16T09:00:00.000Z",
"end":
"2025-06-16T09:15:00.000Z",
`
but the calendar is creating 10 AM hours not 09 AM
it is adding extra daylight saving time even though I am already putting the correct time in the sending json, can you help me?
Beta Was this translation helpful? Give feedback.
All reactions