comparison libpurple/protocols/oscar/userinfo.c @ 32296:d4b7770324f8

propagate from branch 'im.pidgin.pidgin' (head 570b107a62822dd538074753d93b576dea0043a3) to branch 'im.pidgin.pidgin.next.major' (head 20d4ef81eb68e587acefa966d0a8ad5923243c77)
author Paul Aurich <paul@darkrain42.org>
date Sat, 02 Apr 2011 18:04:29 +0000
parents 8d6630912021 729a3c968114
children 3322201b446f
comparison
equal deleted inserted replaced
32295:dc120ca9f523 32296:d4b7770324f8
435 435
436 tm->tm_mday = (int)info->birthday; 436 tm->tm_mday = (int)info->birthday;
437 tm->tm_mon = (int)info->birthmonth - 1; 437 tm->tm_mon = (int)info->birthmonth - 1;
438 tm->tm_year = (int)info->birthyear - 1900; 438 tm->tm_year = (int)info->birthyear - 1900;
439 439
440 /* Ignore dst setting of today to avoid timezone shift between
441 * dates in summer and winter time. */
442 tm->tm_isdst = -1;
443
440 /* To be 100% sure that the fields are re-normalized. 444 /* To be 100% sure that the fields are re-normalized.
441 * If you're sure strftime() ALWAYS does this EVERYWHERE, 445 * If you're sure strftime() ALWAYS does this EVERYWHERE,
442 * feel free to remove it. --rlaager */ 446 * feel free to remove it. --rlaager */
443 mktime(tm); 447 mktime(tm);
444 448