# HG changeset patch # User Mark Doliner # Date 1182624794 0 # Node ID 83ea1733979b83226f9382483a9b2b7d89b2d519 # Parent bc4518599c10d262fca7c46141afd2a52257d559 This is a less dumb way to make sure we don't wrap diff -r bc4518599c10 -r 83ea1733979b pidgin/gtkblist.c --- a/pidgin/gtkblist.c Sat Jun 23 06:32:09 2007 +0000 +++ b/pidgin/gtkblist.c Sat Jun 23 18:53:14 2007 +0000 @@ -2976,10 +2976,11 @@ signon = purple_presence_get_login_time(presence); if (full && PURPLE_BUDDY_IS_ONLINE(b) && signon > 0) { - if (time(NULL) - signon > 63072000 /* 2 years */) { + if (signon > time(NULL)) { /* - * Our local clock must be wrong, show the actual - * date instead of "4 days", etc. + * They signed on in the future?! Our local clock + * must be wrong, show the actual date instead of + * "4 days", etc. */ tmp = g_strdup(purple_date_format_long(localtime(&signon))); } else