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:
parent
49e38ba276
commit
0cfa67e85f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue