Skip to content

Commit

Permalink
fix: taa rough timestamp timezone from datetime
Browse files Browse the repository at this point in the history
Fixes #2553

Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm committed Oct 18, 2023
1 parent ac1dde3 commit 12ec11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aries_cloudagent/ledger/indy_vdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import os.path
import tempfile

from datetime import datetime, date
from datetime import datetime, date, timezone
from io import StringIO
from pathlib import Path
from time import time
Expand Down Expand Up @@ -923,7 +923,7 @@ def taa_rough_timestamp(self) -> int:
"""
return int(
datetime.combine(
date.today(), datetime.min.time(), datetime.timezone.utc
date.today(), datetime.min.time(), timezone.utc
).timestamp()
)

Expand Down

0 comments on commit 12ec11b

Please sign in to comment.