use utc for date field
This commit is contained in:
parent
51f573f1ea
commit
37129bce58
1 changed files with 1 additions and 1 deletions
|
@ -929,7 +929,7 @@ class Ledger(metaclass=LedgerRegistry):
|
|||
item = {
|
||||
'txid': tx.id,
|
||||
'timestamp': ts,
|
||||
'date': datetime.fromtimestamp(ts).isoformat(' ')[:-3] if tx.height > 0 else None,
|
||||
'date': datetime.utcfromtimestamp(ts).isoformat(' ')[:-3] if tx.height > 0 else None,
|
||||
'confirmations': (headers.height+1) - tx.height if tx.height > 0 else 0,
|
||||
'claim_info': [],
|
||||
'update_info': [],
|
||||
|
|
Loading…
Add table
Reference in a new issue