| changeset 113 | bb2f29951cbb |
| parent 111 | ccad96890edd |
| child 114 | f3df17ee0909 |
--- a/whois/parser.py Fri Nov 25 20:38:48 2016 +0800 +++ b/whois/parser.py Wed Dec 21 10:22:14 2016 +0800 @@ -126,7 +126,7 @@ values = [] for value in re.findall(regex, self.text, re.IGNORECASE): value = value.strip() - if value and isinstance(value, basestring) and not value.isdigit(): + if value and isinstance(value, basestring) and not value.isdigit() and '_date' in attr: # try casting to date format value = cast_date( value,