-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Error in card_diaperchange_types #890
Comments
Same here with Europe/Madrid. Changing the user timezone to Etc/GMT-1 served as a workaround |
as a workaround, I've done a little change here : babybuddy/dashboard/templatetags/cards.py Line 85 in 9a89f56
-key = (max_date - instance.time).days
+key = min((max_date - instance.time).days, 6) it will not fix the real problem ... and return false stats ... but it allow to use the app |
How do you set this if I can't access the dashboard to edit users? |
@Coupyrulz can you access /user/settings/ of your installation ? |
This specific issue will be fixed in the next release. Continuing to track others over at #893 |
Doing nothing, just going to the app I get the error (every refresh) :
It seems that in /app/www/public/dashboard/templatetags/cards.py on the line 86, key was
7
, but stats is limited to 6 .babybuddy/dashboard/templatetags/cards.py
Line 86 in 9a89f56
Maybe linked with time change ? ( but it always crash on every refresh ) .
I'm using timezone Europe/Paris
In the part "local vars" of the debug page I see :
The text was updated successfully, but these errors were encountered: