From 948c499d9e27d4bf39b37ae6d957240d6648b0f0 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Wed, 20 Sep 2023 17:41:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E6=9D=BF=E5=9B=BE=E8=A1=A8=E6=97=B6=E9=97=B4=E8=8C=83=E5=9B=B4?= =?UTF-8?q?=E4=B8=8D=E5=87=86=20(#11633)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: feng <1304903146@qq.com> --- apps/jumpserver/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/jumpserver/api.py b/apps/jumpserver/api.py index b92bee18e..164620057 100644 --- a/apps/jumpserver/api.py +++ b/apps/jumpserver/api.py @@ -55,7 +55,7 @@ class DateTimeMixin: @lazyproperty def date_start_end(self): - return self.days_to_datetime.date(), local_now().date() + return self.days_to_datetime.date(), local_now().date() + timezone.timedelta(days=1) @lazyproperty def dates_list(self):