From d37488015204d7b1d808cf6ca89d8d0944ed8fe0 Mon Sep 17 00:00:00 2001 From: inhji Date: Fri, 10 Mar 2023 15:12:23 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9Elib/chiya=5Fweb/controllers/note=5Fhtm?= =?UTF-8?q?l/index.html.heex=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/chiya_web/controllers/note_html/index.html.heex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chiya_web/controllers/note_html/index.html.heex b/lib/chiya_web/controllers/note_html/index.html.heex index 4dead09..bbacc87 100644 --- a/lib/chiya_web/controllers/note_html/index.html.heex +++ b/lib/chiya_web/controllers/note_html/index.html.heex @@ -9,7 +9,7 @@ <.table id="notes" rows={@notes} row_click={&JS.navigate(~p"/admin/notes/#{&1}")}> <:col :let={note} label="Name"><%= note.name %> - <:col :let={note} label="Published at"><%= from_now(note.published_at, NaiveDateTime.utc_now()) %> + <:col :let={note} label="Published at"><%= from_now_naive(note.published_at) %> <:col :let={note} label="Kind"><%= note.kind %> <:action :let={note}>