From 5aca43b35e9b9fca5252ee107e3e0d08c3c9d7fa Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 1 May 2023 11:33:09 +0200 Subject: [PATCH] Hotfix Season.getSeasonStart --- src/de/steamwar/sql/Season.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/sql/Season.java b/src/de/steamwar/sql/Season.java index 0044c25..a713fe2 100644 --- a/src/de/steamwar/sql/Season.java +++ b/src/de/steamwar/sql/Season.java @@ -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";