Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dates from domains at whois.tucows.com cannot be parsed #81

Open
thedaveCA opened this issue Feb 4, 2022 · 0 comments · May be fixed by #82
Open

Dates from domains at whois.tucows.com cannot be parsed #81

thedaveCA opened this issue Feb 4, 2022 · 0 comments · May be fixed by #82

Comments

@thedaveCA
Copy link

Tucows seems to use a slightly different format for dates:

Registrar URL: http://tucowsdomains.com
Updated Date: 2021-11-21T04:59:14
Creation Date: 2002-12-20T20:08:56
Registrar Registration Expiration Date: 2022-12-20T20:08:56

It looks like modifying whois/Whois/Resources/generic/tld/Found01.txt to include their format (missing the Z) will work:

Creation Date:{ Registered : ToDateTimeUtc("yyyy-MM-ddTHH:mm:ss") }
Updated Date:{ Updated : ToDateTimeUtc("yyyy-MM-ddTHH:mm:ss") }
Registrar Registration Expiration Date:{ Expiration : ToDateTimeUtc("yyyy-MM-ddTHH:mm:ss") }

Example domain is tucowsdomains.com itself.

@thedaveCA thedaveCA linked a pull request Feb 4, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant