From 8197d8984a98077555bdd568f39a3698e3b65da0 Mon Sep 17 00:00:00 2001 From: Bill Weiss Date: Mon, 17 Jun 2024 09:44:50 -0600 Subject: [PATCH] Handle "before YYYY" entries to fix #228 --- whois/parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/whois/parser.py b/whois/parser.py index c6ac036..ba0c1a6 100644 --- a/whois/parser.py +++ b/whois/parser.py @@ -57,6 +57,7 @@ "%d/%m/%Y %H:%M:%S.%f %Z", # 23/04/2015 12:00:07.619546 EEST "%B %d %Y", # August 14 2017 "%d.%m.%Y %H:%M:%S", # 08.03.2014 10:28:24 + "before %Y", # before 2001 "before %b-%Y", # before aug-1996 "before %Y-%m-%d", # before 1996-01-01 "before %Y%m%d", # before 19960821