We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40cc686 commit 010146eCopy full SHA for 010146e
1 file changed
src/apify_client/_http_client.py
@@ -80,8 +80,10 @@ def _parse_params(params: dict | None) -> dict | None:
80
elif isinstance(value, datetime):
81
utc_aware_dt = value.astimezone(timezone.utc)
82
83
+ iso_str = utc_aware_dt.isoformat(timespec='milliseconds')
84
+
85
# Convert to ISO 8601 string in Zulu format
- zulu_date_str = utc_aware_dt.strftime('%Y-%m-%dT%H:%M:%SZ')
86
+ zulu_date_str = iso_str.replace('+00:00', 'Z')
87
88
parsed_params[key] = zulu_date_str
89
elif value is not None:
0 commit comments