Fixbug emptydatetime

fix set default date to today when date field value is empty