Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️ API | Change weekly leaderboard from current week to previous 7 days #1108

Closed
2 tasks done
zacharykeeping opened this issue Oct 21, 2024 · 0 comments · Fixed by #1110
Closed
2 tasks done

♻️ API | Change weekly leaderboard from current week to previous 7 days #1108

zacharykeeping opened this issue Oct 21, 2024 · 0 comments · Fixed by #1110
Assignees

Comments

@zacharykeeping
Copy link
Member

zacharykeeping commented Oct 21, 2024

Hi team

Pain

Currently the leaderboard is set to show week as current week, month as current month, and year as current year. This means the leaderboard resets on a new week/month/year.

What code could be improved?

The weekly leaderboard should be updated to instead go by the previous 7 days.
Note: The monthly and yearly leaderboards should not use the same logic - they should be current month and current year

Tasks

  • Update the API

Acceptance Criteria

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant