From 37129bce58086c6094a1e1dc4404cead5997ece1 Mon Sep 17 00:00:00 2001
From: Victor Shyba <victor1984@riseup.net>
Date: Tue, 21 Apr 2020 02:22:45 -0300
Subject: [PATCH] use utc for date field

---
 lbry/wallet/ledger.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lbry/wallet/ledger.py b/lbry/wallet/ledger.py
index 79e7ef6b2..bb25c1724 100644
--- a/lbry/wallet/ledger.py
+++ b/lbry/wallet/ledger.py
@@ -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': [],