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

Commit

Permalink
Fixed a bug related with date locale settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sklyvan committed Nov 25, 2021
1 parent 6d4d9f9 commit afdbf0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,11 @@ def runOnInit(self):
self.startDateEdit.setDate(QtCore.QDate.fromString(timeRange[0], 'dd/MM/yyyy'))
self.endDateEdit.setDate(QtCore.QDate.fromString(timeRange[1], 'dd/MM/yyyy'))
if isUsingEspaiAulaFilePath(userPreferences): self.filePathText.setText(getEspaiAulaFilePath(userPreferences))

self.mainProgressBar.setValue(0)

self.startDateEdit.setDisplayFormat('dd/MM/yyyy')
self.endDateEdit.setDisplayFormat('dd/MM/yyyy')

def clickSaveButton(self):
planEstudio = self.planEstudioText.text()
idiomaPais = self.idiomaPaisText.text()
Expand Down

0 comments on commit afdbf0f

Please sign in to comment.