Use ISO-Format for the date in the placeholder attribute.

This commit is contained in:
Tim Schumacher 2014-08-31 14:03:41 +02:00
parent 0d9b4cce8e
commit c7ab23c4aa

View file

@ -9,7 +9,7 @@
name="startdate"
required="required"
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">
<i class="icon calendar"></i>
@ -27,7 +27,7 @@
id="event_enddate"
name="enddate"
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">
<i class="icon calendar"></i>