X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=admin%2Fusers.php;h=fbb42a678c2228ce5b3f3237ea1128095f3c78f5;hb=630e99edecc3eabe708a9e7bda94eaa60bf16db7;hp=2074bc1945c11c424420cfe8cd91a18b5f40cc1c;hpb=c85c10b86be48b2b1df728f4751adbb38f2ac8d4;p=fa-stable.git diff --git a/admin/users.php b/admin/users.php index 2074bc19..fbb42a67 100644 --- a/admin/users.php +++ b/admin/users.php @@ -133,7 +133,9 @@ while ($myrow = db_fetch($result)) alt_table_row_color($k); - $last_visit_date = sql2date($myrow["last_visit_date"]); + $time_format = (user_date_format() == 0 ? "h:i a" : "H:i"); + $last_visit_date = sql2date($myrow["last_visit_date"]). " " . + date($time_format, strtotime($myrow["last_visit_date"])); /*The security_headings array is defined in config.php */ $not_me = strcasecmp($myrow["user_id"], $_SESSION["wa_current_user"]->username); @@ -228,4 +230,3 @@ submit_add_or_update_center($selected_id == -1, '', 'both'); end_form(); end_page(); -?>