return null when parsing an empty string date