allow dates as empty
check to parse date string