added dayfirst to WhoiFr parser issue #159
authorrichardpenman
Tue, 13 Mar 2018 11:50:29 -0400
changeset 168 d994f11c7e9e
parent 167 7bec7a730d69
child 169 2a73627e8be7
added dayfirst to WhoiFr parser issue #159
whois/parser.py
--- a/whois/parser.py	Thu Feb 15 15:32:45 2018 +0000
+++ b/whois/parser.py	Tue Mar 13 11:50:29 2018 -0400
@@ -627,6 +627,8 @@
 class WhoisFr(WhoisEntry):
     """Whois parser for .fr domains
     """
+    dayfirst = True
+
     regex = {
         'domain_name': 'domain: *(.+)',
         'registrar': 'registrar: *(.+)',
@@ -840,7 +842,6 @@
         'status': 'registration status: s*(.+)',
         'expiration_date': 'expires at: *(.+)',
     }
-
     dayfirst = True
 
     def __init__(self, domain, text):
@@ -1294,7 +1295,6 @@
         'registrar':       'registrar name: *(.+)',
         'referral_url':    'registrar info: *(.+)',
     }
-
     dayfirst = True
 
     def __init__(self, domain, text):