diff --git a/Apewer/Logger.cs b/Apewer/Logger.cs index fec5614..0145289 100644 --- a/Apewer/Logger.cs +++ b/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)