Menu

#42 "date_format" option does not affect the Event page input control

2.1.2
open
None
9
2013-08-31
2013-08-31
Duncan
No

Changing the date format in config.php changes the date display, but does not affect the input and date picker on the Event creation page - I had to edit event.tpl:

<input id="eventdate" name="eventdate" type="text" value="{$eventdate|escape:'htmlall'}" class="input-xlarge" placeholder="dd/mm/yyyy" data-date-format="dd/mm/yyyy">
<p class="help-block">dd/mm/yyyy</p>

Not sure if\how it would be possible to link the settings (my PHP is limited to wild hacking about...), but maybe something could be done?

Discussion


Log in to post a comment.