diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-10-05 11:22:10 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-10-05 11:22:10 -0400 |
commit | bae57838c2dd789064b246308c7cb3a33bba5b8e (patch) | |
tree | b43db60ada251debd3bf5d900d017b2cd29e421f /app/Templates/task_new.php | |
parent | 8e5673e3d289e4d28b4fc9f20721bda9f1c858c7 (diff) |
Input date format is now a config parameter instead of the current locale
Diffstat (limited to 'app/Templates/task_new.php')
-rw-r--r-- | app/Templates/task_new.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Templates/task_new.php b/app/Templates/task_new.php index e07d436c..867bcbc9 100644 --- a/app/Templates/task_new.php +++ b/app/Templates/task_new.php @@ -39,7 +39,7 @@ <?= Helper\form_number('score', $values, $errors) ?><br/> <?= Helper\form_label(t('Due Date'), 'date_due') ?> - <?= Helper\form_text('date_due', $values, $errors, array('placeholder="'.t('month/day/year').'"'), 'form-date') ?><br/> + <?= Helper\form_text('date_due', $values, $errors, array('placeholder="'.Helper\in_list($date_format, $date_formats).'"'), 'form-date') ?><br/> <div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div> </div> |