Browse Source

Force ISO date in datepicker

pull/486/head
chriskiehl 9 years ago
parent
commit
8f4b1aee59
1 changed files with 3 additions and 1 deletions
  1. 4
      gooey/gui/widgets/calender_dialog.py

4
gooey/gui/widgets/calender_dialog.py

@ -42,5 +42,7 @@ class CalendarDlg(wx.Dialog):
self.Close() self.Close()
def GetPath(self): def GetPath(self):
return str(self.datepicker.GetValue()).split(' ')[0]
return self.datepicker.GetValue().FormatISODate()
Loading…
Cancel
Save