summaryrefslogtreecommitdiff
path: root/app/Templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/Templates')
-rw-r--r--app/Templates/board_task.php2
-rw-r--r--app/Templates/comment_show.php2
-rw-r--r--app/Templates/task_show.php8
-rw-r--r--app/Templates/task_table.php6
4 files changed, 9 insertions, 9 deletions
diff --git a/app/Templates/board_task.php b/app/Templates/board_task.php
index e3c210b3..61f7f5bf 100644
--- a/app/Templates/board_task.php
+++ b/app/Templates/board_task.php
@@ -55,7 +55,7 @@
<?php if (! empty($task['date_due'])): ?>
<div class="task-board-date <?= time() > $task['date_due'] ? 'task-board-date-overdue' : '' ?>">
- <?= dt('%B %e, %G', $task['date_due']) ?>
+ <?= dt('%B %e, %Y', $task['date_due']) ?>
</div>
<?php endif ?>
diff --git a/app/Templates/comment_show.php b/app/Templates/comment_show.php
index 227c0fcc..d9d40d7e 100644
--- a/app/Templates/comment_show.php
+++ b/app/Templates/comment_show.php
@@ -1,7 +1,7 @@
<div class="comment <?= isset($preview) ? 'comment-preview' : '' ?>" id="comment-<?= $comment['id'] ?>">
<p class="comment-title">
- <span class="comment-username"><?= Helper\escape($comment['username']) ?></span> @ <span class="comment-date"><?= dt('%B %e, %G at %k:%M %p', $comment['date']) ?></span>
+ <span class="comment-username"><?= Helper\escape($comment['username']) ?></span> @ <span class="comment-date"><?= dt('%B %e, %Y at %k:%M %p', $comment['date']) ?></span>
</p>
<div class="comment-inner">
diff --git a/app/Templates/task_show.php b/app/Templates/task_show.php
index b28a3a08..a353d4d0 100644
--- a/app/Templates/task_show.php
+++ b/app/Templates/task_show.php
@@ -5,21 +5,21 @@
<?php endif ?>
<ul>
<li>
- <?= dt('Created on %B %e, %G at %k:%M %p', $task['date_creation']) ?>
+ <?= dt('Created on %B %e, %Y at %k:%M %p', $task['date_creation']) ?>
</li>
<?php if ($task['date_modification']): ?>
<li>
- <?= dt('Last modified on %B %e, %G at %k:%M %p', $task['date_modification']) ?>
+ <?= dt('Last modified on %B %e, %Y at %k:%M %p', $task['date_modification']) ?>
</li>
<?php endif ?>
<?php if ($task['date_completed']): ?>
<li>
- <?= dt('Completed on %B %e, %G at %k:%M %p', $task['date_completed']) ?>
+ <?= dt('Completed on %B %e, %Y at %k:%M %p', $task['date_completed']) ?>
</li>
<?php endif ?>
<?php if ($task['date_due']): ?>
<li>
- <strong><?= dt('Must be done before %B %e, %G', $task['date_due']) ?></strong>
+ <strong><?= dt('Must be done before %B %e, %Y', $task['date_due']) ?></strong>
</li>
<?php endif ?>
<?php if ($task['creator_username']): ?>
diff --git a/app/Templates/task_table.php b/app/Templates/task_table.php
index 10f79d29..ad513452 100644
--- a/app/Templates/task_table.php
+++ b/app/Templates/task_table.php
@@ -32,14 +32,14 @@
<?php endif ?>
</td>
<td>
- <?= dt('%B %e, %G', $task['date_due']) ?>
+ <?= dt('%B %e, %Y', $task['date_due']) ?>
</td>
<td>
- <?= dt('%B %e, %G at %k:%M %p', $task['date_creation']) ?>
+ <?= dt('%B %e, %Y at %k:%M %p', $task['date_creation']) ?>
</td>
<td>
<?php if ($task['date_completed']): ?>
- <?= dt('%B %e, %G at %k:%M %p', $task['date_completed']) ?>
+ <?= dt('%B %e, %Y at %k:%M %p', $task['date_completed']) ?>
<?php endif ?>
</td>
<td>