mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
Use the gallery helper date/time functions wherever we format date
time for the browser. Fixes ticket #1278.
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
<? foreach ($comments as $comment): ?>
|
||||
<li id="g-comment-<?= $comment->id ?>">
|
||||
<p class="g-author">
|
||||
<?= t('on %date for %title ',
|
||||
array("date" => date("Y-M-d H:i:s", $comment->created),
|
||||
<?= t("on %date for %title ",
|
||||
array("date" => gallery::date_time($comment->created),
|
||||
"title" => $comment->item()->title)); ?>
|
||||
<a href="<?= $comment->item()->url() ?>">
|
||||
<?= $comment->item()->thumb_img(array(), 50) ?>
|
||||
|
||||
Reference in New Issue
Block a user