From e3fd08999c19c865ba6665c9eaccc341f0fc6918 Mon Sep 17 00:00:00 2001 From: nsubbot Date: Mon, 12 Jan 2026 09:54:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=90=D0=BA=D1=82=D1=83=D0=B0=D0=BB=D0=B8?= =?UTF-8?q?=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20=D1=82=D0=B5=D1=81=D1=82=D0=BE?= =?UTF-8?q?=D0=B2=20=D0=BF=D0=B0=D0=BD=D0=B5=D0=BB=D0=B8=20=D1=81=D0=BE?= =?UTF-8?q?=D0=B1=D1=8B=D1=82=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/date_picker_component.py | 36 ++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/components/date_picker_component.py b/components/date_picker_component.py index 242b34e..c504a1c 100644 --- a/components/date_picker_component.py +++ b/components/date_picker_component.py @@ -140,27 +140,27 @@ class DatePickerComponent(BaseComponent): def check_content(self) -> None: """Проверка состава компонент средства выбора даты.""" - month_dict = {"1":"январь", - "2":"февраль", - "3":"март", - "4":"апрель", - "5":"май", - "6":"июнь", - "7":"июль", - "8":"август", - "9":"сентябрь", + month_dict = {"01":"январь", + "02":"февраль", + "03":"март", + "04":"апрель", + "05":"май", + "06":"июнь", + "07":"июль", + "08":"август", + "09":"сентябрь", "10":"октябрь", "11":"ноябрь", "12":"декабрь"} - days_per_month = {"1":31, - "2":28, - "3":31, - "4":30, - "5":31, - "6":30, - "7":31, - "8":31, - "9":30, + days_per_month = {"01":31, + "02":28, + "03":31, + "04":30, + "05":31, + "06":30, + "07":31, + "08":31, + "09":30, "10":31, "11":30, "12":31}