修复重现时间没有转换成本地时间的bug
This commit is contained in:
1 parent
ea717ccdb8
commit
3307d96ff3
3 files changed
+2
-6
No files matched your search
@@ -367,7 +367,7 @@ namespace Assets.Scenes.Ride.Scripts.Model.CyclingModels
|
||||
return (end1, false);
|
||||
}
|
||||
//var end2 = (int)Math.Floor((FirstEndTime.Value - Now).TotalSeconds);
|
||||
var end2 = (int)Math.Floor((FirstEndTime.Value.AddMinutes(mapCompetition.CloseTime) - Now).TotalSeconds);
|
||||
var end2 = (int)Math.Floor((FirstEndTime.Value.ToLocalTime().AddMinutes(mapCompetition.CloseTime) - Now).TotalSeconds);
|
||||
if (end1 < end2)
|
||||
{
|
||||
return (end1, false);
|
||||
|
||||
Reference in new issue
Block a user