From d66ca147e44fc930271117cd66f0c685ba96f328 Mon Sep 17 00:00:00 2001 From: "s.galanskiy" Date: Tue, 17 Jun 2025 12:21:53 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BF=D1=80=D0=BE=D1=89=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B4=D0=B0=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SRV/services/subnet_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SRV/services/subnet_service.py b/SRV/services/subnet_service.py index 858f396..92eda9f 100644 --- a/SRV/services/subnet_service.py +++ b/SRV/services/subnet_service.py @@ -190,7 +190,7 @@ class SubnetService: start_time = time.time() devices = [] now = datetime.now().astimezone() - formatted_now = now.strftime("%d %B %Y, %H:%M") + formatted_now = now.strftime("%d-%m-%Y, %H:%M") try: saved_devices = self.storage.load_devices() @@ -267,7 +267,7 @@ class SubnetService: def _get_local_device(self, subnet: str) -> Optional[Device]: now = datetime.now().astimezone() - formatted_now = now.strftime("%d %B %Y, %H:%M") + formatted_now = now.strftime("%d-%m-%Y, %H:%M") try: subnet_network = ipaddress.ip_network(subnet, strict=False) interfaces = netifaces.interfaces()