summaryrefslogtreecommitdiff
path: root/app/Templates/task_new.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-05 11:22:10 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-05 11:22:10 -0400
commitbae57838c2dd789064b246308c7cb3a33bba5b8e (patch)
treeb43db60ada251debd3bf5d900d017b2cd29e421f /app/Templates/task_new.php
parent8e5673e3d289e4d28b4fc9f20721bda9f1c858c7 (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.php2
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>