Change Due Date to Due Timestamp fixes #919 (#3249)

This commit is contained in:
Oliver Buchmann
2017-05-10 22:42:34 +02:00
committed by Frédéric Guillot
parent 136936ae3d
commit daf39ee16a
19 changed files with 25 additions and 25 deletions

View File

@@ -65,7 +65,7 @@
<?php endif ?>
">
<i class="fa fa-calendar"></i>
<?= $this->dt->date($task['date_due']) ?>
<?= $this->dt->datetime($task['date_due']) ?>
</span>
<?php endif ?>
</div>

View File

@@ -6,7 +6,7 @@
</li>
<?php if ($task['date_due']): ?>
<li>
<strong><?= t('Due date:').' '.$this->dt->date($task['date_due']) ?></strong>
<strong><?= t('Due date:').' '.$this->dt->datetime($task['date_due']) ?></strong>
</li>
<?php endif ?>
<?php if (! empty($task['creator_username'])): ?>

View File

@@ -19,7 +19,7 @@
<?= $this->text->e($task['title']) ?>
<?php endif ?>
</td>
<td style="border: 1px solid #eee;"><?= $this->dt->date($task['date_due']) ?></td>
<td style="border: 1px solid #eee;"><?= $this->dt->datetime($task['date_due']) ?></td>
<td style="border: 1px solid #eee;"><?= $this->text->e($task['project_name']) ?></td>
<td style="border: 1px solid #eee;">
<?php if (! empty($task['assignee_username'])): ?>

View File

@@ -36,7 +36,7 @@
<?= $this->dt->date($task['date_started']) ?>
</td>
<td>
<?= $this->dt->date($task['date_due']) ?>
<?= $this->dt->datetime($task['date_due']) ?>
</td>
</tr>
<?php endforeach ?>

View File

@@ -31,7 +31,7 @@
if (empty($task['date_due'])) {
echo '<li>'.t('The due date have been removed').'</li>';
} else {
echo '<li>'.t('New due date: ').$this->dt->date($task['date_due']).'</li>';
echo '<li>'.t('New due date: ').$this->dt->datetime($task['date_due']).'</li>';
}
break;
case 'description':

View File

@@ -95,7 +95,7 @@
<?php if ($task['date_due']): ?>
<li>
<strong><?= t('Due date:') ?></strong>
<span><?= $this->dt->date($task['date_due']) ?></span>
<span><?= $this->dt->datetime($task['date_due']) ?></span>
</li>
<?php endif ?>
<?php if ($task['time_estimated']): ?>

View File

@@ -39,7 +39,7 @@
<?php endif ?>
">
<i class="fa fa-calendar"></i>
<?= $this->dt->date($task['date_due']) ?>
<?= $this->dt->datetime($task['date_due']) ?>
</span>
<?php endif ?>

View File

@@ -9,7 +9,7 @@
</li>
<?php if ($task['date_due']): ?>
<li>
<strong><?= t('Due date:').' '.$this->dt->date($task['date_due']) ?></strong>
<strong><?= t('Due date:').' '.$this->dt->datetime($task['date_due']) ?></strong>
</li>
<?php endif ?>
<?php if (! empty($task['creator_username'])): ?>