# HG changeset patch # User Yoshiki Yazawa # Date 1216376250 -32400 # Node ID 76012df4e194d603f1b7c172ca811d76e000fec7 # Parent a37dd74c8355ce3ba5c1a0a7e949586b8191685b time offset in BSD extension has opposite sign diff -r a37dd74c8355 -r 76012df4e194 pidgin-twitter.c --- a/pidgin-twitter.c Fri Jul 18 18:19:58 2008 +0900 +++ b/pidgin-twitter.c Fri Jul 18 19:17:30 2008 +0900 @@ -314,7 +314,7 @@ memset(&res, 0x00, sizeof(struct tm)); strptime(str, "%a %b %d %T %z %Y", &res); tzset(); - st->time = mktime(&res) - res.tm_gmtoff; + st->time = mktime(&res) + res.tm_gmtoff; /* restore locale */ setlocale(LC_TIME, lc_time);