fix: set 8-th mounth instead 9-th
This commit is contained in:
parent
fba842acc3
commit
535bafa73a
@ -26,7 +26,7 @@ public class GroupController(IMediator mediator) : BaseController
|
|||||||
// Convert a two-digit year to a four-digit one
|
// Convert a two-digit year to a four-digit one
|
||||||
yearOfGroup += current.Year / 100 * 100;
|
yearOfGroup += current.Year / 100 * 100;
|
||||||
|
|
||||||
return current.Year - yearOfGroup + (current.Month < 9 ? 0 : 1);
|
return current.Year - yearOfGroup + (current.Month < 8 ? 0 : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user