Skip to content

Commit 8e172dd

Browse files
fix: replace +00:00 with Z
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent dbf7f68 commit 8e172dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apmodel/extra/cid/data_integrity_proof.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ def to_json(self):
3636

3737
# Apply DataIntegrityProof-specific serialization for 'created' field
3838
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
39+
data["created"] = data["created"].isoformat(timespec='seconds').replace('+00:00', 'Z') # Convert datetime to ISO string with Z
4040

4141
return data

0 commit comments

Comments
 (0)