fix(date-format): should return null not undefined if viewValue is empty string