Name.com whois server is returning dates with timestamp included which messes up the parsed data.
whois.gtld.name.php
should have these two array elements set like this:
'domain.created' => 'Creation Date:',
'domain.expires' => 'Expiration Date:'
and I've fixed the parser by adding this code in the beginning whois.parser.php get_date function:
if(strtotime($date) > 0) {
return date('Y-m-d', strtotime($date));
}
I don't know if this change affects other date formats, so thread carefully.
Name.com whois server is returning dates with timestamp included which messes up the parsed data.
whois.gtld.name.php
should have these two array elements set like this:
and I've fixed the parser by adding this code in the beginning whois.parser.php get_date function:
I don't know if this change affects other date formats, so thread carefully.