Open itghlu opened 5 years ago
I've hit this problem too, thanks for the fix @itghlu :bow: For the record I merged this into my fork: jarthod/whois-parser which is going to include many other updates so we can benefit from a more up-to-date version without cherry-picking everywhere.
Fix date parsing in AFNIC parsers as the format had changed from
DD/MM/YYYY
toYYYY-MM-DDThh:mm:ssZ
(ISO 8601).The
parse_time
method can handle this date format without pre-processing.Original code would result in negative dates: