소스 검색

修复订单时间段显示-删除day+1

linhaohong 1 년 전
부모
커밋
331df3dbee
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      AdminController/CloudServiceManage/AgentDeviceController.py

+ 0 - 1
AdminController/CloudServiceManage/AgentDeviceController.py

@@ -192,7 +192,6 @@ class AgentDeviceView(View):
 
         # 补全时间段内所有可能的时间单位
         current_time = start_time
-        end_time += relativedelta(days=1)  # 包括结束日期
 
         while current_time < end_time:
             time_key = current_time.strftime(time_format[time_unit]) if time_unit != "quarter" else time_format[