def _pydate2wxdate(date):
     import datetime
     assert isinstance(date, (datetime.datetime, datetime.date))
     tt = date.timetuple()
     dmy = (tt[2], 1-tt[1], tt[0])
     return wx.DateTimeFromDMY(*dmy)
dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/gui/mnuRibbon.py/_pydate2wxdate/swapped operands of `-`