Skip to content
This repository was archived by the owner on Apr 1, 2023. It is now read-only.

Commit afdbf0f

Browse files
committed
Fixed a bug related with date locale settings.
1 parent 6d4d9f9 commit afdbf0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/MainWindow.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,11 @@ def runOnInit(self):
334334
self.startDateEdit.setDate(QtCore.QDate.fromString(timeRange[0], 'dd/MM/yyyy'))
335335
self.endDateEdit.setDate(QtCore.QDate.fromString(timeRange[1], 'dd/MM/yyyy'))
336336
if isUsingEspaiAulaFilePath(userPreferences): self.filePathText.setText(getEspaiAulaFilePath(userPreferences))
337-
338337
self.mainProgressBar.setValue(0)
339338

339+
self.startDateEdit.setDisplayFormat('dd/MM/yyyy')
340+
self.endDateEdit.setDisplayFormat('dd/MM/yyyy')
341+
340342
def clickSaveButton(self):
341343
planEstudio = self.planEstudioText.text()
342344
idiomaPais = self.idiomaPaisText.text()

0 commit comments

Comments
 (0)