|
|
@ -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(); |
|
|
|
|
|
|
|