Closed Matan22g closed 4 years ago
if the user select only 2 options (month/year) it will result in error. a fix can be in _choose function:
instead of:
try: date = datetime( int(self._year_title), int(self._month_title), int(self._day_title) ) except: self.cancel() self.callback(False) self.callback(date) self.cancel()
something like that:
try: date = datetime( int(self._year_title), int(self._month_title), int(self._day_title) ) self.callback(date) self.cancel() except: self.cancel() self.callback(False)
Thanks for reporting this bug.
is it possible to make a datetime picker? i want to add an hour picker widget
@kentang2017 there is not such feature yet
if the user select only 2 options (month/year) it will result in error. a fix can be in _choose function:
instead of:
something like that: