自动补测日志时间统一为本地时间
This commit is contained in:
1 parent
24afb9e1dc
commit
838bebe7cc
1 file changed
+3
-2
@@ -3238,8 +3238,9 @@ def run(ctx, args):
|
||||
print("检测缺口 %.1f 小时,超过自动补测上限 %d 小时,已跳过"
|
||||
% (gap / 3600.0, max_gap // 3600), flush=True)
|
||||
elif gap > threshold:
|
||||
print("检测缺口 %.1f 小时,后台自动补测 %s → %s"
|
||||
% (gap / 3600.0, last_dt.strftime("%m-%d %H:%M"),
|
||||
print("检测缺口 %.1f 小时,后台自动补测(本地时间)%s → %s"
|
||||
% (gap / 3600.0,
|
||||
last_dt.astimezone().strftime("%m-%d %H:%M"),
|
||||
now_dt.astimezone().strftime("%m-%d %H:%M")),
|
||||
flush=True)
|
||||
threading.Thread(target=auto_backfill_worker,
|
||||
|
||||
Reference in new issue
Block a user