Wrong hours number in the message saying "You've reached your likes today"

AI-generated summary

Users across multiple Discourse communities, including Discourse Meta and Infinite Flight Community, reported a bug where the “You’ve reached your likes today” message displayed an absurdly large number of hours (e.g., 419,691 hours or ~47 years) before likes would reset. The issue wasn’t merely cosmetic — as fefrei noted, the rate-limiting logic itself was broken, preventing users from liking even their first post of the day. itsbhanusharma, schyllberg, and Captain_Ed confirmed the bug affected multiple sites. While some users like AustralianFlyer could still like on Meta but not elsewhere, others like itsbhanusharma were blocked entirely. codinghorror and sam acknowledged the issue, with sam confirming a fix was being deployed to hosted customers via this commit. Users like ma0sm confirmed the fix was working post-deployment. The bug was treated as non-priority initially but escalated due to its functional impact on core user interaction.

Today at Discourse Meta I encountered this limit for the very first time in last 3 years. Seems like the number is incorrect:

Just a minor non-priority fix.

「いいね!」 7

Sorry I saw this one first @schungx

「いいね!」 2

Happening to me as well!

You’ve reached the maximum number of likes today. Please wait 419691.17924106785 hours before trying again.

「いいね!」 1

Same thing going on @ IFC.

https://community.infinite-flight.com/t/47-years-for-likes-to-come-back/168803

「いいね!」 6

Unfortunately this started happening over at the Infinite Flight Community as well (as linked above).

「いいね!」 3

Actually, I think it is fixed only here on the Discourse Meta site. Can anyone else confirm?

「いいね!」 3

I doubt in 47.3 years I will be using Discourse

「いいね!」 5

Oh, this is actually pretty serious: This isn’t just about the incorrect display, the rate limiting logic itself is broken. I just got this message for my first like of the day.

「いいね!」 9

I can like on here, but not on the IFC.

「いいね!」 4

And I can not like here or on my comunity forum! ..

「いいね!」 3

Just making sure @sam has seen this.

「いいね!」 1

I saw this, @zogstrip is deploying a fix to our hosted customers.

「いいね!」 6

We’ll be waiting at the IFC :wink:

「いいね!」 3

This fixes the issue

https://github.com/discourse/discourse/commit/5a9622163df65a77979ebe24a6bb6e9e12f09400

Will get it deployed shortly, apologies

「いいね!」 15

Great work on this team, Shaun and the lads at community.drownedinsound.com will be chuffed to hear the news!

「いいね!」 1

Working for us now, thanks guys!

「いいね!」 7