mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
fix.修复12点后关卡提示变成新一天了的问题
This commit is contained in:
@@ -79,10 +79,12 @@ namespace MeoAsstGui
|
||||
//StageList.Add(new CombData { Display = "BI-7", Value = "BI-7" });
|
||||
//StageList.Add(new CombData { Display = "BI-8", Value = "BI-8" });
|
||||
|
||||
DayOfWeek day_of_week = System.DateTime.Now.DayOfWeek;
|
||||
if (System.DateTime.Now.Hour > 0 && System.DateTime.Now.Hour < 4)
|
||||
var now = System.DateTime.Now;
|
||||
DayOfWeek day_of_week = now.DayOfWeek;
|
||||
var hour = now.Hour;
|
||||
if (hour >= 0 && hour < 4)
|
||||
{
|
||||
day_of_week = System.DateTime.Now.AddDays(-1).DayOfWeek;
|
||||
day_of_week = now.AddDays(-1).DayOfWeek;
|
||||
}
|
||||
|
||||
var stage_dict = new Dictionary<string, List<DayOfWeek>>
|
||||
|
||||
Reference in New Issue
Block a user