Skip to content

Commit a96bb03

Browse files
authored
Merge pull request #38 from department-of-decentralization/skip-pb-stammtisch
Skip June 2025 stammtisch
2 parents 1ecae2b + 898d467 commit a96bb03

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/NextStammtisch.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ export default function NextStammtisch() {
2222
// Set start time to 21:00 UTC which is intentially a bit into the event
2323
nextStammtisch.setUTCHours(21)
2424

25+
// Check if this is June 2025 because of ProtocolBerg v2 (month 5, since January is 0)
26+
if (nextStammtisch.getUTCFullYear() === 2025 && nextStammtisch.getUTCMonth() === 5) {
27+
// Skip June 2025
28+
nextMonth++
29+
continue
30+
}
31+
2532
// If Stammtisch already started/passed this month, move to next month
2633
nextMonth++
2734
} while (nextStammtisch < currentDate)

0 commit comments

Comments
 (0)