fix: 修复仪表板图表时间范围不准 (#11633)

Co-authored-by: feng <1304903146@qq.com>
pull/11635/head
fit2bot 1 year ago committed by GitHub
parent a51549cf1c
commit 948c499d9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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):

Loading…
Cancel
Save