lib/whois/record/parser/whois.dns.pl.rb in whois-3.0.0 vs lib/whois/record/parser/whois.dns.pl.rb in whois-3.1.0

- old
+ new

@@ -58,10 +58,10 @@ Time.parse($1) end end property_supported :expires_on do - if content_for_scanner =~ /renewal date:\s+(.+?)\n/ + if content_for_scanner =~ /renewal date:\s+(.+?)\n/ && $1 != "not defined" Time.parse($1) end end