Skip to content

Commit

Permalink
cit-sの仕様変更にohiruコマンドを対応
Browse files Browse the repository at this point in the history
  • Loading branch information
irumaru committed Oct 12, 2023
1 parent 384cf29 commit b35782d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pantyetta.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async def pantyetta(interaction: discord.Interaction, private:bool=True):
def get_nth_week(year, month, day, firstweekday=0):
first_dow = calendar.monthrange(year, month)[0]
offset = (first_dow - firstweekday) % 7
return (day + offset - 1) // 7 + 1
return (day + offset - 1) // 7

def today():
tz = datetime.timezone(datetime.timedelta(hours=9))
Expand Down

0 comments on commit b35782d

Please sign in to comment.