Issue status update for http://drupal.org/node/24766 Project: Drupal Version: cvs Component: user system Category: bug reports Priority: minor Assigned to: deekayen Reported by: puregin Updated by: puregin Status: patch The patch fixes the problem, thanks. Are there other places in Drupal where this kind of message might occur? Is it possible for the timestamp to be negative under any circumstances (if so, perhaps the test should be $account->access <= 0 rather than $account->access == 0) Regards, Djun puregin Previous comments: ------------------------------------------------------------------------ June 10, 2005 - 11:32 : puregin As site admin, I create a user. When I look at the user admin page immediately afterwards, the user shows up with a 'last access' time of '35 years 24 weeks ago'. Could we report 'Never' instead of the epoch, if the last access time is older than the user account? I seem to recall a similar report, but I couldn't find it after searching through the issues for user.module, and issues in general. Djun ------------------------------------------------------------------------ June 14, 2005 - 01:01 : deekayen Attachment: http://drupal.org/files/issues/wrong_last_access.png (6.13 KB) I verified this on WinXP/PHP5.1. Screenshot attached. ------------------------------------------------------------------------ June 14, 2005 - 01:22 : deekayen Attachment: http://drupal.org/files/issues/epochuser.patch (1.17 KB) Attached patch shows "never" instead of epoch on new users with 0 as last visited value in the DB