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]}
type="datetime-local"
label="Timestamp (UTC)"
lang="en-GB"
/>
</div>
<div class="flex gap-2">

View file

@ -375,7 +375,7 @@ defmodule MicrowavepropWeb.SubmitLive do
options={@mode_options}
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>
<%= if @current_user do %>