We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fc9a18 commit 6b59255Copy full SHA for 6b59255
src/firebase_functions/dataconnect_fn.py
@@ -235,16 +235,14 @@ def _dataconnect_endpoint_handler(
235
236
event_auth_type = event_attributes["authtype"]
237
event_auth_id = event_attributes["authid"]
238
+ event_time = _util.timestamp_conversion(event_attributes["time"])
239
240
dataconnect_event = Event(
241
specversion=event_attributes["specversion"],
242
id=event_attributes["id"],
243
source=event_attributes["source"],
244
type=event_attributes["type"],
- time=_dt.datetime.strptime(
245
- event_attributes["time"],
246
- "%Y-%m-%dT%H:%M:%S.%f%z",
247
- ),
+ time=event_time,
248
subject=event_attributes.get("subject"),
249
location=event_attributes["location"],
250
project=event_attributes["project"],
0 commit comments