Date divider in the chat shows the wrong date [only after scrolling down]

I noticed a weird bug. In one of my chats, the date shown by some of the date dividers is wrong. For example, the date divider shows some messages are sent in April 2026 (correct), but for messages sent the next day, the date divider shows May 2025 (wrong!), and for messages sent the day after that the date divider again shows April 2026 (correct).

I don’t know how to reproduce this bug but obviously there is some faulty logic used to show the date dividers.

Even when the date divider shown in the chat is wrong, the timestamp shown at the bottom of the messages and in message info is still correct, and I only notice the wrong date divider when I jump to the beginning of the chat and scroll down. When I open the chat and scroll up, everything is normal and the date dividers show the correct date.

Could you please state your platform and version tested and where you have installed it from?

I noticed this bug using version 2.48 installed from F-Droid.