only try casting date when includes '_date' in attribute name, to avoid false positives
--- 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,