-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timezone information is ignored in google calendar event actions #1106
Comments
@data-overflow Thanks for reporting this, I'm checking this issue |
@data-overflow the datetime format Thanks. Let us know if there are any issues. |
Hi @Devanshusisodiya, thank you for the response. I've indeed tested by passing the timezone in the required IANA format. Here's an example: The output is still processed to Asia/Kolkata time. Does the timezone require a completely different format than the one specified? Or is it by chance ignored entirely? |
Summary
Composio requires the datetime to be in ISO format (which can optionally have timezone information) but assumes all datetime to be in UTC and adjusts the time before calling the functions. This behavior is undesired and causes problems while working with conversational agents.
Example
The following two variants of code results in the same outcome
Case 1:
Case 2:
Output:
In both the above cases +5:30 hours is applied to match my current timezone although in the second case we explicitly mention the timezone. Additionally, providing the "timezone" parameter in the params also has no effect
The text was updated successfully, but these errors were encountered: