Skip to content

Commit

Permalink
Using datetime.timezone.utc
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Simpson <[email protected]>
  • Loading branch information
Rob Simpson authored and Rob Simpson committed Aug 21, 2023
1 parent 4a68336 commit ca883dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wrappers/python/indy_vdr/ledger.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Methods for generating and working with pool ledger requests."""

import pytz as timezone
from ctypes import byref, c_int8, c_int32, c_int64, c_uint64
from datetime import datetime, date
from enum import IntEnum
Expand Down Expand Up @@ -762,7 +761,7 @@ def prepare_txn_author_agreement_acceptance(
# rough timestamp
accepted_time = int(
datetime.combine(
date.today(), datetime.min.time(), timezone.utc
date.today(), datetime.min.time(), datetime.timezone.utc
).timestamp()
)
result = lib_string()
Expand Down

0 comments on commit ca883dd

Please sign in to comment.