Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 9680:958cfbb47ad6
[gaim-migrate @ 10532]
Dave West fixed bug 720441, "ICQ Offline messages have GMT timestamp."
Thanks!
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 05 Aug 2004 21:15:41 +0000 |
parents | 52319a1d9a55 |
children | bd5abccacff2 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Thu Aug 05 19:18:06 2004 +0000 +++ b/src/protocols/oscar/oscar.c Thu Aug 05 21:15:41 2004 +0000 @@ -3506,7 +3506,9 @@ tmp = gaim_escape_html(msg2[0]); if (t) { /* This is an offline message */ - /* I think this timestamp is in UTC, or something */ + /* The timestamp is UTC-ish, so we need to get the offset */ + tzset(); + t -= timezone; serv_got_im(gc, uin, tmp, 0, t); } else { /* This is a message from MacICQ/Miranda */ serv_got_im(gc, uin, tmp, 0, time(NULL));