summaryrefslogtreecommitdiff
path: root/modules/comment/views/admin_comments.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-13 13:44:51 +0800
committer <unostar@danalan.info>2009-06-13 20:10:24 +0800
commit3d89951c778265fb010d4bd20f93ced3ff7502d8 (patch)
treeafa69eb44960e21112d28c78c3777ace9f55487d /modules/comment/views/admin_comments.html.php
parent96b533f1b2fe4e01d7dd7e98631833c2e3c13a71 (diff)
Create gallery::date_time(), gallery::date() and gallery::time()
functions that format a unix timestamp into a date+time/date/time string. Partial fix for ticket #347. Signed-off-by: <unostar@danalan.info>
Diffstat (limited to 'modules/comment/views/admin_comments.html.php')
-rw-r--r--modules/comment/views/admin_comments.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php
index 79bdb1f3..e749fde0 100644
--- a/modules/comment/views/admin_comments.html.php
+++ b/modules/comment/views/admin_comments.html.php
@@ -117,7 +117,7 @@
</td>
<td>
<div class="right">
- <? $item = $comment->item(); ?>
+ <? $item = $comment->item() ?>
<div class="gItem gPhoto">
<a href="<?= $item->url() ?>">
<? if ($item->has_thumb()): ?>
@@ -131,7 +131,7 @@
</a>
</div>
</div>
- <p><?= date("Y-M-d", $comment->created); ?></p>
+ <p><?= gallery::date($comment->created) ?></p>
<?= p::clean($comment->text) ?>
</td>
<td>