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/user | |
| 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/user')
| -rw-r--r-- | modules/user/views/admin_users.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php index a99c9506..68486e6d 100644 --- a/modules/user/views/admin_users.html.php +++ b/modules/user/views/admin_users.html.php @@ -80,7 +80,7 @@ <?= p::clean($user->email) ?> </td> <td> - <?= ($user->last_login == 0) ? "" : date("j-M-y", $user->last_login) ?> + <?= ($user->last_login == 0) ? "" : gallery::date($user->last_login) ?> </td> <td class="gActions"> <a href="<?= url::site("admin/users/edit_user_form/$user->id") ?>" |
