Skip to content

Commit

Permalink
Update sync_status_readme.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWeb3Sec authored Aug 25, 2024
1 parent 873ca00 commit 39aa2f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sync_status_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ def check_weekly_status(user_status, date, user_tz):
missing_days = sum(1 for d in week_dates if user_status.get(datetime.combine(
d.astimezone(pytz.UTC).date(), datetime.min.time()).replace(tzinfo=pytz.UTC), "⭕️") == "⭕️")

if local_date == current_date and missing_days > 6:
if local_date == current_date and missing_days > 3:
return "❌"
elif local_date < current_date and missing_days > 6:
elif local_date < current_date and missing_days > 3:
return "❌"
elif local_date > current_date:
return " "
Expand Down

0 comments on commit 39aa2f7

Please sign in to comment.