Format dates on budget view

This commit is contained in:
Frederic Guillot 2015-04-02 20:18:07 -04:00
parent 65acf68dc6
commit c72bca04a8
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
<?php foreach ($lines as $line): ?>
<tr>
<td><?= n($line['amount']) ?></td>
<td><?= $this->e($line['date']) ?></td>
<td><?= dt('%B %e, %Y', strtotime($line['date'])) ?></td>
<td><?= $this->e($line['comment']) ?></td>
<td>
<?= $this->a(t('Remove'), 'budget', 'confirm', array('project_id' => $project['id'], 'budget_id' => $line['id'])) ?>

View File

@ -25,7 +25,7 @@
</tr>
<?php foreach ($daily_budget as $line): ?>
<tr>
<td><?= $this->e($line['date']) ?></td>
<td><?= dt('%B %e, %Y', strtotime($line['date'])) ?></td>
<td><?= n($line['in']) ?></td>
<td><?= n($line['out']) ?></td>
<td><?= n($line['left']) ?></td>