summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_block_log_entries.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/gallery/views/admin_block_log_entries.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/gallery/views/admin_block_log_entries.html.php')
-rw-r--r--modules/gallery/views/admin_block_log_entries.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/admin_block_log_entries.html.php b/modules/gallery/views/admin_block_log_entries.html.php
index 38070fe1..44c1657f 100644
--- a/modules/gallery/views/admin_block_log_entries.html.php
+++ b/modules/gallery/views/admin_block_log_entries.html.php
@@ -3,7 +3,7 @@
<? foreach ($entries as $entry): ?>
<li class="<?= log::severity_class($entry->severity) ?>" style="direction: ltr">
<a href="<?= url::site("user/$entry->user_id") ?>"><?= p::clean($entry->user->name) ?></a>
- <?= date("Y-M-d H:i:s", $entry->timestamp) ?>
+ <?= gallery::date_time($entry->timestamp) ?>
<?= $entry->message ?>
<?= $entry->html ?>
</li>