summaryrefslogtreecommitdiff
path: root/lib/lsg_web/components/message_component.ex
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/lsg_web/components/message_component.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lsg_web/components/message_component.ex b/lib/lsg_web/components/message_component.ex
index 2381411..5997754 100644
--- a/lib/lsg_web/components/message_component.ex
+++ b/lib/lsg_web/components/message_component.ex
@@ -3,6 +3,8 @@ defmodule LSGWeb.MessageComponent do
def content(assigns) do
~H"""
+ <LSGWeb.Component.naive_date_time_utc datetime={@message.at} format="time-24-with-seconds" />
+ <div class="inline-block font-bold flex-none cursor-default"><%= @message.sender.nick %></div>
<div class="inline-block flex-grow cursor-default"><%= @text %></div>
"""
end