-
Notifications
You must be signed in to change notification settings - Fork 118
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
What is a timezone for domain in expirationDate field? #218
Comments
There is actually a way to get the timezone.
Returns with
Manipulate it via
|
@dehlirious thank you very much for the suggestion! It looks like it really depends on the tld - for |
Ah, fair enough. Seems the isssue regards the whois server and the lack of information that they provide. https://www.whois.com/whois/google.pl as an example, the timezone simply isn't given Also From that point, I suppose it could be relatively assumed that the timezone is of the country the tld belongs to, from that assumption you could build an array to match these tld's with no timezone info to their respective country. |
From my experience not all whois servers declare the timezone, and not all of them use the same one, especially those of registrars. |
When I'm getting basic information about the domain
within the field
expirationDate
I'm getting a timestamp, which the I can convert to an object.My question is, what timezone is used for that timestamp. I assume that the library is not providing this information as I wasn't able to fetch it via whois database. Is there a way to obtain the list of timezones for each domain type?
The text was updated successfully, but these errors were encountered: