From eb3442ab47373d6c9022f79f307d4136aa1ba26e Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 13 Jul 2015 21:31:12 +0200 Subject: [PATCH] use date_str in invoices list --- gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index 9e7667905..510804da6 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -1398,7 +1398,7 @@ class ElectrumWindow(QMainWindow): key = pr.get_id() status = self.invoices.get_status(key) requestor = pr.get_requestor() - date_str = util.age(pr.get_expiration_date()) + date_str = util.format_time(pr.get_expiration_date()) item = QTreeWidgetItem( [ date_str, requestor, pr.memo, self.format_amount(pr.get_amount(), whitespaces=True), pr_tooltips.get(status,'')] ) item.setIcon(4, QIcon(pr_icons.get(status))) item.setData(0, Qt.UserRole, key)