Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslin2020 authored Nov 4, 2023
1 parent bf8f57f commit 21e5389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hackathon_site/hackathon_site/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_curr_sign_in_time(use_description=False, return_exception=False):
# assumes interval won't overlap between different months or years
def get_sign_in_interval(time):
start_interval = time - relativedelta(hours=1)
end_interval = time + relativedelta(hours=2)
end_interval = time + relativedelta(hours=3)

if start_interval.day == end_interval.day:
return f"{start_interval.strftime('%H:%M')} - {end_interval.strftime('%H:%M')}, {start_interval.strftime('%b %d')}"
Expand Down

0 comments on commit 21e5389

Please sign in to comment.