commit eb3442ab47373d6c9022f79f307d4136aa1ba26e
parent 6fa7f57f10889068d08f6bc8625b73490d8d5be9
Author: ThomasV <thomasv@gitorious>
Date: Mon, 13 Jul 2015 21:31:12 +0200
use date_str in invoices list
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)