Days visited from redeemed invites page bug

AI-generated summary

A user reports a bug on the /my/invited/redeemed page where the number of days a user has visited updates incorrectly at midnight UTC. The issue is that the displayed days visited can exceed the total number of days available, as seen when the count increases from 16/17 to 17/17 and 161/161 to 162/161, indicating a discrepancy in the calculation. ct-337 highlights this behavior, noting it occurs multiple times and involves incorrect updates.

I have noticed multiple times that the number of days a user has visited in the /my/invited/redeemed page (when looking at users who’ve accepted your invite) will increase at midnight UTC. However, as shown in the top images, on one forum I’ve visited 16/17 days and the other 161/161. Upon midnight UTC, it updates to 17/17 and 162/161. The second number takes a few hours to update. This occurs on multiple Discourse versions (including the most up-to-date one) on multiple forums.