Subject: | CIRA date format change |
cira, the canadian domain authority (whois.cira.ca) changed their date
format, patch is attached
Subject: | expire.diff |
--- ExpireDate.pm 2008-07-02 03:36:11.000000000 -0400
+++ /usr/local/share/perl/5.8.4/Net/Domain/ExpireDate.pm 2008-08-11 11:18:37.000000000 -0400
@@ -213,7 +213,7 @@
# [whois.enterprice.net] Date of expiration : 2003-05-28 11:50:58
# [nswhois.domainregistry.com] Expires on..............: 2006-07-24
# [whois.cira.ca] Renewal-Date: 2006/10/27
- } elsif ($whois =~ m&(?:Expiry Date|Expire(?:d|s)? on|Valid Date|Expiration Date|Date of expiration|Renewal-Date)(?:\.*|\s*):?\s+(\d{4})[/-](\d{2})[/-](\d{2})&s) {
+ } elsif ($whois =~ m&(?:Expiry Date|Expire(?:d|s)? on|Valid Date|Expiration Date|Date of expiration|Renewal[- ][Dd]ate)(?:\.*|\s*):?\s+(\d{4})[/-](\d{2})[/-](\d{2})&s) {
$rulenum = 2.2; $Y = $1; $m = $2; $d = $3;
# [whois.oleane.net] expires: 20030803
# [whois.nic.it] expire: 20051011