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/gallery/views/admin_maintenance.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/gallery/views/admin_maintenance.html.php')
-rw-r--r-- | modules/gallery/views/admin_maintenance.html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/views/admin_maintenance.html.php b/modules/gallery/views/admin_maintenance.html.php index 66c4eea0..c47f77f8 100644 --- a/modules/gallery/views/admin_maintenance.html.php +++ b/modules/gallery/views/admin_maintenance.html.php @@ -69,7 +69,7 @@ <? foreach ($running_tasks as $task): ?> <tr class="<?= $task->state == "stalled" ? "gWarning" : "" ?>"> <td> - <?= date("M j, Y H:i:s", $task->updated) ?> + <?= gallery::date_time($task->updated) ?> </td> <td> <?= $task->name ?> @@ -139,7 +139,7 @@ <? foreach ($finished_tasks as $task): ?> <tr class="<?= $task->state == "success" ? "gSuccess" : "gError" ?>"> <td> - <?= date("M j, Y H:i:s", $task->updated) ?> + <?= gallery::date_time($task->updated) ?> </td> <td> <?= $task->name ?> |