Mercurial > pidgin.yaz
changeset 4798:0c95a3731244
[gaim-migrate @ 5118]
People seemed to like this better this way. Me? I'm not so sure,
but hey, I was raised to believe that celery should never be eaten
if it hasn't been dipped in warm chocolate sauce.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 16 Mar 2003 06:43:27 +0000 |
parents | 9561a1104131 |
children | 7fd8a82a7c36 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sun Mar 16 04:39:41 2003 +0000 +++ b/src/protocols/oscar/oscar.c Sun Mar 16 06:43:27 2003 +0000 @@ -2888,10 +2888,9 @@ if (bi) { char *caps = caps_string(bi->caps); - char *time = asctime(localtime(&bi->signon)); - *(strchr(time, '\n')) = '\0'; - return g_strdup_printf(_("<b>Online Since:</b> %s%s%s"), - time, + char *tstr = sec_to_text(time(NULL) - bi->signon); + return g_strdup_printf(_("<b>Logged In:</b> %s%s%s"), + tstr, caps ? _("\n<b>Capabilities:</b> ") : "", caps ? caps : ""); } else { return NULL;