# HG changeset patch # User richardpenman # Date 1520956229 14400 # Node ID d994f11c7e9e9b3784b7780fc84141aa11ba4fe1 # Parent 7bec7a730d694bad30d1e440e5e5a41b52885949 added dayfirst to WhoiFr parser issue #159 diff -r 7bec7a730d69 -r d994f11c7e9e 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):