summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/budget/create.php2
-rw-r--r--app/Template/budget/index.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/budget/create.php b/app/Template/budget/create.php
index 5a919ce6..5b2976f4 100644
--- a/app/Template/budget/create.php
+++ b/app/Template/budget/create.php
@@ -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'])) ?>
diff --git a/app/Template/budget/index.php b/app/Template/budget/index.php
index 442a6b64..01525829 100644
--- a/app/Template/budget/index.php
+++ b/app/Template/budget/index.php
@@ -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>