From 765500cccdec0a5edd10e6ac3aca98e578953412 Mon Sep 17 00:00:00 2001 From: Vincent Texier <vit@free.fr> Date: Sat, 14 Feb 2015 17:42:27 +0100 Subject: [PATCH] Clean date in statusbar --- src/cutecoin/gui/mainwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cutecoin/gui/mainwindow.py b/src/cutecoin/gui/mainwindow.py index 69081ad6..bb7d1c9a 100644 --- a/src/cutecoin/gui/mainwindow.py +++ b/src/cutecoin/gui/mainwindow.py @@ -121,7 +121,7 @@ class MainWindow(QMainWindow, Ui_MainWindow): @pyqtSlot() def update_time(self): date = QDate.currentDate() - self.label_time.setText("- {0} -".format(date.toString("dd/MM/yyyy"))) + self.label_time.setText("{0}".format(date.toString("dd/MM/yyyy"))) next_day = date.addDays(1) current_time = QDateTime().currentDateTime().toMSecsSinceEpoch() next_time = QDateTime(next_day).toMSecsSinceEpoch() -- GitLab