diff --git a/src/main/resources/Tippliga_Configs/2027/tl.json b/src/main/resources/Tippliga_Configs/2027/tl.json index bafb63a..5602d3a 100644 --- a/src/main/resources/Tippliga_Configs/2027/tl.json +++ b/src/main/resources/Tippliga_Configs/2027/tl.json @@ -188,7 +188,7 @@ "matchesConfig": [ { "type": "Placeholder", - "placeholderDatetime": "2025-12-26 18:00:00" + "placeholderDatetime": "2026-12-26 18:00:00" } ] }, @@ -329,7 +329,7 @@ "matchesConfig": [ { "type": "Placeholder", - "placeholderDatetime": "2026-03-17 18:00:00" + "placeholderDatetime": "2027-03-17 18:00:00" } ] }, @@ -371,7 +371,7 @@ "matchesConfig": [ { "type": "Placeholder", - "placeholderDatetime": "2026-04-14 18:00:00" + "placeholderDatetime": "2027-04-14 18:00:00" } ] }, @@ -431,4 +431,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/src/main/resources/Tippliga_Configs/2027/wtl.json b/src/main/resources/Tippliga_Configs/2027/wtl.json index 0c9943f..b2d3f2d 100644 --- a/src/main/resources/Tippliga_Configs/2027/wtl.json +++ b/src/main/resources/Tippliga_Configs/2027/wtl.json @@ -20,7 +20,7 @@ }, { "type": "Placeholder", - "placeholderDatetime": "2025-08-21 18:00:00" + "placeholderDatetime": "2026-08-21 18:00:00" } ] }, @@ -37,7 +37,7 @@ }, { "type": "Placeholder", - "placeholderDatetime": "2025-10-27 18:00:00" + "placeholderDatetime": "2026-10-27 18:00:00" } ] }, @@ -54,7 +54,7 @@ }, { "type": "Placeholder", - "placeholderDatetime": "2025-12-01 18:30:00" + "placeholderDatetime": "2026-12-01 18:30:00" } ] }, @@ -71,7 +71,7 @@ }, { "type": "Placeholder", - "placeholderDatetime": "2026-02-02 18:30:00" + "placeholderDatetime": "2027-02-02 18:30:00" } ] }, @@ -107,42 +107,42 @@ { "type": "PlaceholderSingleMatch", "koMatch": true, - "placeholderDatetime": "2026-04-20 20:45:00", + "placeholderDatetime": "2027-04-20 20:45:00", "formulaHome": "D", "formulaGuest": "D" }, { "type": "PlaceholderSingleMatch", "koMatch": true, - "placeholderDatetime": "2026-04-20 20:45:00", + "placeholderDatetime": "2027-04-20 20:45:00", "formulaHome": "D", "formulaGuest": "D" }, { "type": "PlaceholderSingleMatch", "koMatch": true, - "placeholderDatetime": "2026-04-20 20:45:00", + "placeholderDatetime": "2027-04-20 20:45:00", "formulaHome": "D", "formulaGuest": "D" }, { "type": "PlaceholderSingleMatch", "koMatch": true, - "placeholderDatetime": "2026-04-20 20:45:00", + "placeholderDatetime": "2027-04-20 20:45:00", "formulaHome": "D", "formulaGuest": "D" }, { "type": "PlaceholderSingleMatch", "koMatch": true, - "placeholderDatetime": "2026-05-29 20:00:00", + "placeholderDatetime": "2027-05-29 20:00:00", "formulaHome": "W 61", "formulaGuest": "W 63" }, { "type": "PlaceholderSingleMatch", "koMatch": true, - "placeholderDatetime": "2026-05-29 20:00:00", + "placeholderDatetime": "2027-05-29 20:00:00", "formulaHome": "W 62", "formulaGuest": "W 64" } diff --git a/src/main/resources/Tippliga_Configs/2027/z_cleanup.sql b/src/main/resources/Tippliga_Configs/2027/z_cleanup.sql new file mode 100644 index 0000000..12faf5e --- /dev/null +++ b/src/main/resources/Tippliga_Configs/2027/z_cleanup.sql @@ -0,0 +1,2 @@ +UPDATE phpbb_footb_matchdays SET status = 0 WHERE season = 2027 AND status > 0; +UPDATE phpbb_footb_matches SET status = 0 WHERE season = 2027 AND status > 0; diff --git a/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorFootballTest.java b/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorFootballTest.java index 6996324..0655440 100644 --- a/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorFootballTest.java +++ b/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorFootballTest.java @@ -46,11 +46,4 @@ public class TLWMatchesCreatorFootballTest { String sql = creator.getSQLInsertString(); System.out.println(sql); } - - @Test - public void getMatchesEMTippspielSqlTest() { - TLWMatchesCreatorFootball creator = new TLWMatchesCreatorFootball(2021, 49, "EM-Tippspiel"); - String sql = creator.getSQLInsertString(); -// System.out.println(sql); - } }