Force 24-hour time on UTC timestamp inputs

This commit is contained in:
Graham McIntire 2026-04-11 17:44:39 -05:00
parent c6bf333c98
commit d990884cea
2 changed files with 2 additions and 1 deletions

View file

@ -601,6 +601,7 @@ defmodule MicrowavepropWeb.ContactLive.Show do
field={@edit_form[:qso_timestamp]} field={@edit_form[:qso_timestamp]}
type="datetime-local" type="datetime-local"
label="Timestamp (UTC)" label="Timestamp (UTC)"
lang="en-GB"
/> />
</div> </div>
<div class="flex gap-2"> <div class="flex gap-2">

View file

@ -375,7 +375,7 @@ defmodule MicrowavepropWeb.SubmitLive do
options={@mode_options} options={@mode_options}
required required
/> />
<.input field={@form[:qso_timestamp]} type="datetime-local" label="Timestamp (UTC)" required /> <.input field={@form[:qso_timestamp]} type="datetime-local" label="Timestamp (UTC)" lang="en-GB" required />
</div> </div>
<%= if @current_user do %> <%= if @current_user do %>