Hotfix Season.getSeasonStart
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2023-05-01 11:33:09 +02:00
Ursprung 4a6465953f
Commit 5aca43b35e

Datei anzeigen

@ -33,9 +33,9 @@ public class Season {
public static String getSeasonStart() {
Calendar calendar = Calendar.getInstance();
int month = calendar.get(Calendar.MONTH);
if (month <= 4) {
if (month <= 3) {
return calendar.get(Calendar.YEAR) + "-1-1";
} else if (month <= 8) {
} else if (month <= 7) {
return calendar.get(Calendar.YEAR) + "-5-1";
} else {
return calendar.get(Calendar.YEAR) + "-9-1";