summaryrefslogtreecommitdiff
path: root/app/Template/project/show.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-06 18:08:41 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-06 18:08:41 -0500
commit58cef289674717027b6b470044504a661f3bd9ad (patch)
treebf3be866b414009b60b1e1f16480a84c91da03de /app/Template/project/show.php
parentfc785bbbf6cc7db01964ae1d99cd02e85afeedc2 (diff)
The date time format can be chosen in application settings
Diffstat (limited to 'app/Template/project/show.php')
-rw-r--r--app/Template/project/show.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/project/show.php b/app/Template/project/show.php
index 5f1aefc1..166b8902 100644
--- a/app/Template/project/show.php
+++ b/app/Template/project/show.php
@@ -21,15 +21,15 @@
<?php endif ?>
<?php if ($project['last_modified']): ?>
- <li><?= dt('Last modified on %B %e, %Y at %k:%M %p', $project['last_modified']) ?></li>
+ <li><?= t('Modified:').' '.$this->dt->datetime($project['last_modified']) ?></li>
<?php endif ?>
<?php if ($project['start_date']): ?>
- <li><?= t('Start date: %s', $project['start_date']) ?></li>
+ <li><?= t('Start date: ').$this->dt->date($project['start_date']) ?></li>
<?php endif ?>
<?php if ($project['end_date']): ?>
- <li><?= t('End date: %s', $project['end_date']) ?></li>
+ <li><?= t('End date: ').$this->dt->date($project['end_date']) ?></li>
<?php endif ?>
<?php if ($stats['nb_tasks'] > 0): ?>