diff --git a/gooey/gui/widgets/calender_dialog.py b/gooey/gui/widgets/calender_dialog.py index 1ade4cf..c2e122d 100644 --- a/gooey/gui/widgets/calender_dialog.py +++ b/gooey/gui/widgets/calender_dialog.py @@ -42,5 +42,7 @@ class CalendarDlg(wx.Dialog): self.Close() def GetPath(self): - return str(self.datepicker.GetValue()).split(' ')[0] + return self.datepicker.GetValue().FormatISODate() + +