diff --git a/weboob/tools/date.py b/weboob/tools/date.py index ccd3bdfc..83d9dd1f 100644 --- a/weboob/tools/date.py +++ b/weboob/tools/date.py @@ -143,7 +143,7 @@ class LinearDateGuesser(object): sorted from recent to older. """ - def __init__(self, current_date=None, date_max_bump=timedelta(7)): + def __init__(self, current_date=None, date_max_bump=timedelta(31)): self.date_max_bump = date_max_bump if current_date is None: current_date = date.today() @@ -215,7 +215,7 @@ class ChaoticDateGuesser(LinearDateGuesser): day and month and the minimum year """ - def __init__(self, min_date, current_date=None, date_max_bump=timedelta(7)): + def __init__(self, min_date, current_date=None, date_max_bump=timedelta(31)): if min_date is None: raise ValueError("min_date is not set") self.min_date = min_date