mirror of
https://github.com/XFox111/GUTSchedule.git
synced 2026-04-22 06:58:01 +03:00
Parser update
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user