mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-02 13:10:48 -04:00
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.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user