.se domain whois query fails to parse '-' modified date and raises UnknownDateFormat exception.
To Reproduce
Steps to reproduce the behavior:
>>> import whois
>>> whois.query('amcon.se')
we have se
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.10/site-packages/whois/__init__.py", line 289, in query
return Domain(
File "/usr/local/lib/python3.10/site-packages/whois/_3_adjust.py", line 57, in __init__
self.last_updated = str_to_date(data["updated_date"][0], self.tld.lower())
File "/usr/local/lib/python3.10/site-packages/whois/_3_adjust.py", line 228, in str_to_date
raise UnknownDateFormat("Unknown date format: '%s'" % text)
whois.exceptions.UnknownDateFormat: Unknown date format: '-'
Describe the bug
.se domain whois query fails to parse '-' modified date and raises UnknownDateFormat exception.
To Reproduce
Steps to reproduce the behavior: