Skip to content
Snippets Groups Projects
Commit 765500cc authored by Vincent Texier's avatar Vincent Texier
Browse files

Clean date in statusbar

parent 04710d3f
Branches
Tags
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment