Skip to content

Commit 9eb4a15

Browse files
feat(scout-for-lol): add Pandemonium Acts 1 & 2 to season presets
Pandemonium (Season 2 of 2026) launched 2026-04-29 with Patch 26.09. The existing preset list ended with For Demacia Act 2 (2026-04-30), leaving the /competition season dropdown empty as of today. - Add 2026_SEASON_2_ACT_1 "Pandemonium (Act 1)" (2026-04-29 → 2026-06-09) - Add 2026_SEASON_2_ACT_2 "Pandemonium (Act 2)" (2026-06-10 → 2026-08-12) - Fix 2026_SEASON_1_ACT_2 end date from 2026-04-30 to 2026-04-28 to maintain the 1-day gap convention before Pandemonium Act 1 starts. Sources: - https://wiki.leagueoflegends.com/en-us/Pandemonium - https://wiki.leagueoflegends.com/en-us/2026_Annual_Cycle
1 parent 002aa47 commit 9eb4a15

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

packages/scout-for-lol/packages/data/src/seasons.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ describe("seasons", () => {
4343
"2025_SEASON_3_ACT_1",
4444
"2026_SEASON_1_ACT_1",
4545
"2026_SEASON_1_ACT_2",
46+
"2026_SEASON_2_ACT_1",
47+
"2026_SEASON_2_ACT_2",
4648
] as const;
4749
for (const id of validIds) {
4850
const result = SeasonIdSchema.safeParse(id);

packages/scout-for-lol/packages/data/src/seasons.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ export const SeasonIdSchema = z.enum([
1616
"2025_SEASON_3_ACT_2",
1717
"2026_SEASON_1_ACT_1",
1818
"2026_SEASON_1_ACT_2",
19+
"2026_SEASON_2_ACT_1",
20+
"2026_SEASON_2_ACT_2",
1921
]);
2022

2123
export type SeasonId = z.infer<typeof SeasonIdSchema>;
@@ -53,7 +55,19 @@ export const SEASONS: Record<SeasonId, SeasonData> = {
5355
id: "2026_SEASON_1_ACT_2",
5456
displayName: "For Demacia (Act 2)",
5557
startDate: new Date("2026-03-05T00:00:00-08:00"),
56-
endDate: new Date("2026-04-30T23:59:59-07:00"),
58+
endDate: new Date("2026-04-28T23:59:59-07:00"),
59+
},
60+
"2026_SEASON_2_ACT_1": {
61+
id: "2026_SEASON_2_ACT_1",
62+
displayName: "Pandemonium (Act 1)",
63+
startDate: new Date("2026-04-29T00:00:00-07:00"),
64+
endDate: new Date("2026-06-09T23:59:59-07:00"),
65+
},
66+
"2026_SEASON_2_ACT_2": {
67+
id: "2026_SEASON_2_ACT_2",
68+
displayName: "Pandemonium (Act 2)",
69+
startDate: new Date("2026-06-10T00:00:00-07:00"),
70+
endDate: new Date("2026-08-12T23:59:59-07:00"),
5771
},
5872
};
5973

0 commit comments

Comments
 (0)