diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-06-12 22:44:51 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-12 22:44:51 -0700 |
| commit | 26314d0ef85d4a1e73ca6c9bd728a4cfb8d46d6b (patch) | |
| tree | 7e220587f1684b86ae2c18e46cd4425cc7ed1e7b /modules/comment/views/admin_block_recent_comments.html.php | |
| parent | 4166fbcd67d828d42b0b1d3d27730355ca8dbce0 (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_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))); ?> |
