Skip to content

Commit

Permalink
Clarification on "time_started" having off by one
Browse files Browse the repository at this point in the history
Co-authored-by: Maarten Sijm <[email protected]>
  • Loading branch information
jgadelange and mpsijm authored Dec 2, 2024
1 parent 4829a3a commit 4d3caa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AoCH/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def return_day_data(members, total_members, today):

for key, value in members.items():
if str(this_day) in value["completion_day_level"]:
# Today +6 hours (with timezone)
# Today +5 hours (server runs UTC)
time_started = datetime(year=this_year, month=12, day=this_day, hour=5)

person = {
Expand Down

0 comments on commit 4d3caa0

Please sign in to comment.