diff --git a/src/dkr/core/didding.py b/src/dkr/core/didding.py index 99035e3..c84e4bd 100644 --- a/src/dkr/core/didding.py +++ b/src/dkr/core/didding.py @@ -4,7 +4,7 @@ """ -from datetime import datetime +import datetime import json import math import re @@ -164,7 +164,7 @@ def generateDIDDoc(hby: habbing.Habery, did, aid, oobi=None, metadata=None, reg_ didResolutionMetadata = dict( contentType="application/did+json", - retrieved=datetime.utcnow().strftime(DID_TIME_FORMAT) + retrieved=datetime.datetime.now(datetime.UTC).strftime(DID_TIME_FORMAT) ) didDocumentMetadata = dict( witnesses=witnesses,