From 4793309cb099dca65cde37afb2e973dfd1891fb5 Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Tue, 7 May 2024 11:26:57 -0700 Subject: [PATCH] Set table to use 24h time --- .../controllers/pages/page_html/history_table_live.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pinchflat_web/controllers/pages/page_html/history_table_live.ex b/lib/pinchflat_web/controllers/pages/page_html/history_table_live.ex index 4d221a2..92b9ba3 100644 --- a/lib/pinchflat_web/controllers/pages/page_html/history_table_live.ex +++ b/lib/pinchflat_web/controllers/pages/page_html/history_table_live.ex @@ -104,6 +104,6 @@ defmodule Pinchflat.Pages.HistoryTableLive do defp format_datetime(nil), do: "" defp format_datetime(datetime) do - Calendar.strftime(datetime, "%Y-%m-%d %I:%M %p") + Calendar.strftime(datetime, "%Y-%m-%d %H:%M") end end