Use ISO-Format for the date in the placeholder attribute.
This commit is contained in:
parent
0d9b4cce8e
commit
c7ab23c4aa
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
name="startdate"
|
name="startdate"
|
||||||
required="required"
|
required="required"
|
||||||
value="{{ entity.startdate.format('Y-m-d H:i')|default('') }}"
|
value="{{ entity.startdate.format('Y-m-d H:i')|default('') }}"
|
||||||
placeholder="{{ "now"|date('d.m.Y H:i') }}"
|
placeholder="{{ "now"|date('Y-m-d H:i') }}"
|
||||||
class="form-control">
|
class="form-control">
|
||||||
|
|
||||||
<i class="icon calendar"></i>
|
<i class="icon calendar"></i>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
id="event_enddate"
|
id="event_enddate"
|
||||||
name="enddate"
|
name="enddate"
|
||||||
value="{{ entity.enddate.format('Y-m-d H:i')|default('') }}"
|
value="{{ entity.enddate.format('Y-m-d H:i')|default('') }}"
|
||||||
placeholder="{{ "now"|date('d.m.Y H:i') }}"
|
placeholder="{{ "now"|date('Y-m-d H:i') }}"
|
||||||
class="form-control">
|
class="form-control">
|
||||||
|
|
||||||
<i class="icon calendar"></i>
|
<i class="icon calendar"></i>
|
||||||
|
|
Reference in a new issue