Force 24-hour time on UTC timestamp inputs
This commit is contained in:
parent
c6bf333c98
commit
d990884cea
2 changed files with 2 additions and 1 deletions
|
|
@ -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">
|
||||||
|
|
|
||||||
|
|
@ -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 %>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue