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]}
|
||||
type="datetime-local"
|
||||
label="Timestamp (UTC)"
|
||||
lang="en-GB"
|
||||
/>
|
||||
</div>
|
||||
<div class="flex gap-2">
|
||||
|
|
|
|||
|
|
@ -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 %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue