shift / domain_exporter

Prometheus WHOIS domain details exporter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to parse date for *.im TLD

zarbis opened this issue · comments

whois terra.im

                This information has been redacted to comply with European Union General Data Protection Regulations (GDPR). Please contact us at info@nic.im if you have any further queries.
              
Domain Name:	terra.im
Domain Managers
Name: Redacted
Address
Redacted
Domain Owners / Registrant
Name: Redacted
Address
Redacted
Administrative Contact
Name: Redacted
Address
Redacted
Billing Contact
Name: Redacted
Address
Redacted
Technical Contact
Name: Redacted
Address
Redacted
Domain Details
Expiry Date: 30/06/2021 00:59:53
Name Server:george.ns.cloudflare.com.
Name Server:nina.ns.cloudflare.com.

I am getting this error in logs: warn="Unable to parse date: 30/06/2021 00:59:53, for terra.im\n"
Seems like exporter cannot parse American-style dates.

Pull Requests are welcome.