Sfoglia il codice sorgente

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

linhaohong 1 anno fa
parent
commit
331df3dbee

+ 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[