1
0
Fork 0
forked from zovos/bot_tg

fix: flip week parity so ISO-even weeks are upper

Current week (36, even) is actually an upper week per the user, not
lower as the old flag implied.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
zovos 2026-08-31 08:59:35 +00:00
parent 49e38ba276
commit 0cfa67e85f

View file

@ -77,7 +77,7 @@ def make_time(h: int, m: int) -> time:
return time(hour=h, minute=m) return time(hour=h, minute=m)
# Если у тебя наоборот, просто поменяй на False. # Если у тебя наоборот, просто поменяй на False.
UPPER_WEEK_IS_ODD = True UPPER_WEEK_IS_ODD = False
PAIR_TIMES = { PAIR_TIMES = {
1: (make_time(8, 0), make_time(9, 35)), 1: (make_time(8, 0), make_time(9, 35)),