From e268b6ab9951567fdc8de0b79de388935ef7f994 Mon Sep 17 00:00:00 2001 From: Bastien Le Querrec <blq@laquadrature.net> Date: Sat, 18 Jan 2025 19:19:19 +0100 Subject: [PATCH] =?UTF-8?q?prefdpt:=20corrige=20la=20v=C3=A9rification=20d?= =?UTF-8?q?e=20date=20pour=20les=20widgets=20qui=20testent=20une=20date=20?= =?UTF-8?q?enti=C3=A8re?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Attrap_prefdpt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Attrap_prefdpt.py b/Attrap_prefdpt.py index 907c23c..7943552 100644 --- a/Attrap_prefdpt.py +++ b/Attrap_prefdpt.py @@ -251,6 +251,8 @@ class Attrap_prefdpt(Attrap): case 'year-month': date = date.replace(day=1) not_before = self.not_before.replace(day=1) + case _: + not_before = self.not_before # Si la date estimée correspond à la plage d'analyse ou si follow_link_on_unrecognised_date est à True, # on demande au serveur les détails du RAA -- GitLab