1
0
mirror of https://github.com/XFox111/GUTSchedule.git synced 2026-04-22 06:58:01 +03:00

Parser update

This commit is contained in:
Michael Gordeev
2020-10-25 11:52:00 +03:00
parent 12bfa32415
commit 018981002b
+1 -1
View File
@@ -161,7 +161,7 @@ namespace GUTSchedule
List<DateTime> dates = new List<DateTime>();
foreach(string rawWeek in weeks)
{
int week = int.Parse(rawWeek.Replace("*", ""));
int week = int.Parse(rawWeek.Replace("*", "").Replace("д", ""));
DateTime newDate = date.AddDays(--week * 7);
newDate = newDate.AddDays(weekday - 1);