wrong method for date time widget