浏览代码

修复订单时间段显示-删除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[