Browse Source

Logger:修正 ClockUtility.Parse 的调用

master
王厅 1 month ago
parent
commit
0fd90f2fc6
  1. 4
      Apewer/Logger.cs

4
Apewer/Logger.cs

@ -287,8 +287,8 @@ namespace Apewer
}
// 从文件名解析日期
var dt = ClockUtility.ParseLucid(fileName.Substring(0, 10));
if (dt == null || !dt.HasValue) continue;
var dt = ClockUtility.Parse(fileName.Substring(0, 10));
if (dt == null) continue;
var days = Convert.ToInt32(Convert.ToInt64((today - dt.Value).TotalMilliseconds) / 86400000L);
if (days > reserved)

Loading…
Cancel
Save