From 6666584072bf09208454efb3b6aa1055c6edacb6 Mon Sep 17 00:00:00 2001 From: well Date: Sun, 3 Nov 2024 16:07:38 +0800 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=BC=D0=B5=D0=BD=D0=B0=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=BB=D1=8F=200=D0=BE=D0=B9=20=D0=B4=D0=B0=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- results/forms/forms110.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/results/forms/forms110.py b/results/forms/forms110.py index 5f89a0db71..f073bd1fd8 100644 --- a/results/forms/forms110.py +++ b/results/forms/forms110.py @@ -58,7 +58,7 @@ def form_01(direction: Napravleniya, iss: Issledovaniya, fwb, doc, leftnone, use protocol_data = title_fields(iss) - date_zero = datetime.datetime.strptime(protocol_data["5. Дата укуса, оцарапания, ослюнения"], "%d.%m.%Y") + date_zero = datetime.datetime.strptime(protocol_data["Дата осмотра"], "%d.%m.%Y") normal_date_zero = ".".join(str(date_zero).split()[0].split('-')[::-1]) date_three = date_zero + datetime.timedelta(days=3) date_three = ".".join(str(date_three).split()[0].split('-')[::-1])