From 27c2a6eb0767c521cc0c8fe4505a23f180cc0837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=B2?= Date: Thu, 28 Aug 2025 14:30:16 +0500 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=8B=D1=82=D0=B0=D1=8E=D1=81=D1=8C=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=BD=D1=8F=D1=82=D1=8C=20=D0=BA=D0=B0=D0=BA=20?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=B0=D0=B4=D1=82=D1=8C=20=D0=B0=D1=80?= =?UTF-8?q?=D0=B3=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/working_database.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/working_database.py b/app/working_database.py index 6a3e6f9..055e42b 100644 --- a/app/working_database.py +++ b/app/working_database.py @@ -99,11 +99,11 @@ class SimpleDB: if date_from_str: date_from = parser.parse(date_from_str).date() #date_from = str(date_from.strftime('%d.%m.%Y')) - else: date_from = '01.01.2000' + else: date_from = parser.parse('01.01.2000') if date_to_str: date_to = parser.parse(date_to_str).date() #date_to = str(date_to.strftime('%d.%m.%Y')) - else: date_to = '01.01.2000' + else: date_to = parser.parse('01.01.2000') print("Вывод отправляемых агрументов: ", id, organ, names, date_from, date_to, ver) print(type(int(id)), type(organ), type(names), type(date_from), type(date_to), type(ver))