The display of "yesterday" is made on 24h duration... that is wrong
If today is 2024-11-08 17:00:00 Z, toMomentDate("2024-11-06 18:00:00") display Yesterday because diff is >1 and <2