Add support for the ISO 8601 date format (for due date)

This commit is contained in:
Frédéric Guillot
2014-04-27 19:48:36 -04:00
parent 349b5f3f56
commit 12d7138a47
9 changed files with 87 additions and 23 deletions

View File

@@ -24,6 +24,7 @@
<?= Helper\form_label(t('Due Date'), 'date_due') ?>
<?= Helper\form_text('date_due', $values, $errors, array('placeholder="'.t('month/day/year').'"'), 'form-date') ?><br/>
<div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div>
<?= Helper\form_label(t('Description'), 'description') ?>
<?= Helper\form_textarea('description', $values, $errors) ?><br/>