Skip to content

Commit

Permalink
Merge pull request #2554 from dbluhm/fix/taa-rough-timestamp
Browse files Browse the repository at this point in the history
fix: taa rough timestamp timezone from datetime
  • Loading branch information
dbluhm authored Oct 18, 2023
2 parents ac1dde3 + 12ec11b commit bf871f7
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 bf871f7

Please sign in to comment.