Change calculation of diffInDays to only count whole days.  So messages yesterday will include the date, rather than messages 24 hours ago.