diff --git a/src/main/java/app/views/matchday/components/MatchdayCard.java b/src/main/java/app/views/matchday/components/MatchdayCard.java index 0d7ae2d..b106716 100644 --- a/src/main/java/app/views/matchday/components/MatchdayCard.java +++ b/src/main/java/app/views/matchday/components/MatchdayCard.java @@ -143,6 +143,9 @@ public class MatchdayCard extends Div implements ContentConfigurable { private void configureHeaderLabels(Matchday matchday) { int week = matchday.getSeason().getWeekOfFirstMatchday() + matchday.getNumber(); // TODO: figure out why you have to omit -1 on the server! + if (matchday.getNumber() > 13) { // TODO: Do this less dirty! + week += 1; + } int firstDay = matchday.getSeason().getFirstWeekdayOfMatchday(); int lastDay = matchday.getSeason().getLastWeekdayOfMatchday();