Amends datetimepicker methods