Closed AlexSowT closed 3 years ago
This fixes the problem of having an incorrect number of games displayed on the homepage compared to the ./stats/ page for the month.
The problem seemed to be running a date greater or equal against a datetime. The solution is to convert the datetime to a date.
There is also a second change to fix a bug of the game counter not showing anything if no games have been played, rather than zero.
https://github.com/climu/openstudyroom/issues/412
Thanks!
This fixes the problem of having an incorrect number of games displayed on the homepage compared to the ./stats/ page for the month.
The problem seemed to be running a date greater or equal against a datetime. The solution is to convert the datetime to a date.
There is also a second change to fix a bug of the game counter not showing anything if no games have been played, rather than zero.
https://github.com/climu/openstudyroom/issues/412