diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-06-13 13:44:51 +0800 |
|---|---|---|
| committer | <unostar@danalan.info> | 2009-06-13 20:10:24 +0800 |
| commit | 3d89951c778265fb010d4bd20f93ced3ff7502d8 (patch) | |
| tree | afa69eb44960e21112d28c78c3777ace9f55487d /modules/comment/views/admin_block_recent_comments.html.php | |
| parent | 96b533f1b2fe4e01d7dd7e98631833c2e3c13a71 (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_block_recent_comments.html.php')
| -rw-r--r-- | modules/comment/views/admin_block_recent_comments.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/views/admin_block_recent_comments.html.php b/modules/comment/views/admin_block_recent_comments.html.php index d5aab84c..8b9634c5 100644 --- a/modules/comment/views/admin_block_recent_comments.html.php +++ b/modules/comment/views/admin_block_recent_comments.html.php @@ -7,7 +7,7 @@ alt="<?= p::clean($comment->author_name()) ?>" width="32" height="32" /> - <?= date("Y-M-d H:i:s", $comment->created) ?> + <?= gallery::date_time($comment->created) ?> <?= t("<a href=#>%author_name</a> said <em>%comment_text</em>", array("author_name" => p::clean($comment->author_name()), "comment_text" => text::limit_words(p::clean($comment->text), 50))); ?> |
