I'm pretty close to receiving the legendary badge, and I noticed that the "Next badge" popup seems to calculate today's rep incorrectly.
As you can see, it states that I have 140/200 rep for the day, when I clearly have 185/200.
I highly doubt that this is due to caching because I currently have 3 accepted answers for the day, and 185 - 45 = 140. It seems as though the calculation doesn't take accepted answers into consideration.
I only need 15 more points for the day in order to receive that badge, therefore I assume that this is a bug.