mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:02:55 +08:00
Fix incorrect date comparison
This commit is contained in:
parent
bb7af1e39c
commit
2896ed90e2
@ -99,7 +99,7 @@ namespace osu.Game.Overlays.Chat
|
||||
|
||||
displayMessages.ForEach(m =>
|
||||
{
|
||||
if (lastMessage == null || lastMessage.Timestamp.ToLocalTime().Day != m.Timestamp.ToLocalTime().Day)
|
||||
if (lastMessage == null || lastMessage.Timestamp.ToLocalTime().Date != m.Timestamp.ToLocalTime().Date)
|
||||
ChatLineFlow.Add(CreateDaySeparator(m.Timestamp));
|
||||
|
||||
ChatLineFlow.Add(CreateChatLine(m));
|
||||
|
Loading…
Reference in New Issue
Block a user