Use the gallery helper date/time functions wherever we format date

time for the browser.  Fixes ticket #1278.
This commit is contained in:
Bharat Mediratta
2010-08-08 16:54:31 -07:00
parent cdb6306d7e
commit 2dda8e22a7
5 changed files with 9 additions and 9 deletions

View File

@@ -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) ?>