datetimeinput: fix when no date set on field