Do not submit a time component from datetimepicker widget if useTime is false