Google Calendar - Strip 'Z' from datetimes (#366)

This commit is contained in:
Eric Gustin 2025-04-17 15:58:14 -08:00 committed by GitHub
parent 0bcbaa380a
commit 89f3ab13ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -64,6 +64,7 @@ def parse_datetime(datetime_str: str, time_zone: str) -> datetime:
Raises:
ValueError: If the datetime string is not in the correct format.
"""
datetime_str = datetime_str.upper().strip().rstrip("Z")
try:
dt = datetime.fromisoformat(datetime_str)
if dt.tzinfo is None:

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "arcade_google"
version = "1.1.0"
version = "1.1.1"
description = "Arcade.dev LLM tools for Google Workspace"
authors = ["Arcade <dev@arcade.dev>"]