weppos / whois-parser

An intelligent — pure Ruby — WHOIS parser.
https://whoisrb.org
MIT License
99 stars 102 forks source link

Fix corporatedomains whois created/expires on format #122

Closed njng closed 5 years ago

njng commented 5 years ago

Some of the responses return the creation/expiration date in a format that is parsed incorrectly through parse_time. This occurs specifically for corporatedomains in some instances where the date format is returned as "MM/DD/YYYY", but is interpreted as "DD/MM/YYYY" so these dates need to be parsed separately.

njng commented 5 years ago

Since it was branched from another branch, I created a new PR which only contains those changes: https://github.com/weppos/whois-parser/pull/123