Jiang Copilot commited on
Commit
7747dc2
·
unverified ·
1 Parent(s): 346738b

Update main.py

Browse files

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -81,7 +81,7 @@ async def root(
81
  # 如果没有指定日期范围,默认加载今天的日志
82
  if from_date is None and to_date is None:
83
  today = beijing().date().strftime("%Y-%m-%d")
84
- from_date = today # 最近30天(包括今天)
85
  to_date = today
86
  print(f"[root] No date range specified, using today: {from_date} to {to_date}")
87
 
 
81
  # 如果没有指定日期范围,默认加载今天的日志
82
  if from_date is None and to_date is None:
83
  today = beijing().date().strftime("%Y-%m-%d")
84
+ from_date = today # 今天的日志
85
  to_date = today
86
  print(f"[root] No date range specified, using today: {from_date} to {to_date}")
87