Mercurial > pidgin-twitter
changeset 123:76012df4e194
time offset in BSD extension has opposite sign
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Fri, 18 Jul 2008 19:17:30 +0900 |
parents | a37dd74c8355 |
children | ec861f8a2268 |
files | pidgin-twitter.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);