# HG changeset patch # User Mark Doliner # Date 1046472677 0 # Node ID bcfda01c707a0a25355de2a05691fbd4a150fe02 # Parent 43f0bfd1461418c071bd0f35e1734c7b98c0bd30 [gaim-migrate @ 4918] Ok, how's this? You know what I was thinking? "Naysayers" is a funny word. You know what other word is funny? "Fillibuster." committer: Tailor Script diff -r 43f0bfd14614 -r bcfda01c707a src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Fri Feb 28 14:37:02 2003 +0000 +++ b/src/protocols/oscar/oscar.c Fri Feb 28 22:51:17 2003 +0000 @@ -3546,8 +3546,12 @@ tmp = buf; buf = g_strconcat(tmp, "\n
Gender: ", info->gender==1 ? "Female" : "Male", NULL); g_free(tmp); } if (info->birthyear || info->birthmonth || info->birthday) { - char date[15]; - snprintf(date, sizeof(date), "%hhd/%hhd/%hd", info->birthmonth, info->birthday, info->birthyear); + char date[30]; + struct tm tm; + tm.tm_mday = (int)info->birthday; + tm.tm_mon = (int)info->birthmonth-1; + tm.tm_year = (int)info->birthyear-1900; + strftime(date, sizeof(date), "%e %B %Y", &tm); tmp = buf; buf = g_strconcat(tmp, "\n
Birthday: ", date, NULL); g_free(tmp); } if (info->age) {