[drupal-devel] [bug] Last access time reports the epoch instead of 'never'

deekayen drupal-devel at drupal.org
Tue Jun 14 08:22:22 UTC 2005


Issue status update for http://drupal.org/node/24766

 Project:      Drupal
 Version:      cvs
 Component:    user system
 Category:     bug reports
 Priority:     minor
-Assigned to:  Anonymous
+Assigned to:  deekayen
 Reported by:  puregin
 Updated by:   deekayen
-Status:       active
+Status:       patch
 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




deekayen



Previous comments:
------------------------------------------------------------------------

June 10, 2005 - 12: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 - 02:01 : deekayen

Attachment: http://drupal.org/files/issues/wrong_last_access.png (6.13 KB)

I verified this on WinXP/PHP5.1. Screenshot attached.







More information about the drupal-devel mailing list