summaryrefslogtreecommitdiff
path: root/modules/comment/views/admin_comments.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-12 22:44:51 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-12 22:44:51 -0700
commit26314d0ef85d4a1e73ca6c9bd728a4cfb8d46d6b (patch)
tree7e220587f1684b86ae2c18e46cd4425cc7ed1e7b /modules/comment/views/admin_comments.html.php
parent4166fbcd67d828d42b0b1d3d27730355ca8dbce0 (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.
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>