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

Switching to "7-dnevno povprečje" changes the "end" date in other tabs #679

Open
gobaRules opened this issue Nov 7, 2020 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers .NET Pull requests that update .net code

Comments

@gobaRules
Copy link

In the "Stanje COVID-19 v Sloveniji graph", I switch to "7-dnevno povprečje" and this seems to change the end date in all other tabs: "Aktivni", "Na dan", "Skupaj".

bug_changedDate

@breki
Copy link
Collaborator

breki commented Nov 7, 2020

I think it somehow has to do with the fact that 7-day average calculates up to -3 days (3.11.) from today (6.11.), but the date range is not updated for some reason. Then when you switch back to active cases, it just uses the new date (3.11.). I'm not sure what the best way would be to handle this.

@breki breki added .NET Pull requests that update .net code bug Something isn't working good first issue Good for newcomers labels Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers .NET Pull requests that update .net code
Projects
None yet
Development

No branches or pull requests

2 participants