diff --git a/Luski/GUI/MainScreen/UI/PublicServers/ChatMessage.cs b/Luski/GUI/MainScreen/UI/PublicServers/ChatMessage.cs
index 710e754..ae3170f 100644
--- a/Luski/GUI/MainScreen/UI/PublicServers/ChatMessage.cs
+++ b/Luski/GUI/MainScreen/UI/PublicServers/ChatMessage.cs
@@ -71,11 +71,12 @@ public class ChatMessage : UserControl
{
if (time.Date == DateTime.Now.ToLocalTime().Date)
{
- time_str = $"Today at {time.ToShortTimeString().Replace('\u202f', ' ')}";
+ Console.WriteLine(time);
+ time_str = $"Today at {time:h:mm tt}";
}
else if (time.Date == DateTime.Now.ToLocalTime().AddDays(-1).Date)
{
- time_str = $"Yesterday at {time.ToShortTimeString().Replace('\u202f', ' ')}";
+ time_str = $"Yesterday at {time:h:mm tt}";
}
else
{
diff --git a/Luski/Luski.csproj b/Luski/Luski.csproj
index c2fc960..d5a6119 100644
--- a/Luski/Luski.csproj
+++ b/Luski/Luski.csproj
@@ -24,7 +24,7 @@
-
+