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 dbf7f68 commit 8e172ddCopy full SHA for 8e172dd
src/apmodel/extra/cid/data_integrity_proof.py
@@ -36,6 +36,6 @@ def to_json(self):
36
37
# Apply DataIntegrityProof-specific serialization for 'created' field
38
if "created" in data and isinstance(data["created"], datetime):
39
- data["created"] = data["created"].isoformat(timespec='seconds') + 'Z' # Convert datetime to ISO string with Z
+ data["created"] = data["created"].isoformat(timespec='seconds').replace('+00:00', 'Z') # Convert datetime to ISO string with Z
40
41
return data
0 commit comments