comparison src/protocols/oscar/oscar.c @ 4628:ebae85185165

[gaim-migrate @ 4919] Not as good as this. Another funny word: "Maritime." committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 28 Feb 2003 23:11:04 +0000
parents bcfda01c707a
children d19872836812
comparison
equal deleted inserted replaced
4627:bcfda01c707a 4628:ebae85185165
3549 char date[30]; 3549 char date[30];
3550 struct tm tm; 3550 struct tm tm;
3551 tm.tm_mday = (int)info->birthday; 3551 tm.tm_mday = (int)info->birthday;
3552 tm.tm_mon = (int)info->birthmonth-1; 3552 tm.tm_mon = (int)info->birthmonth-1;
3553 tm.tm_year = (int)info->birthyear-1900; 3553 tm.tm_year = (int)info->birthyear-1900;
3554 strftime(date, sizeof(date), "%e %B %Y", &tm); 3554 strftime(date, sizeof(date), "%x", &tm);
3555 tmp = buf; buf = g_strconcat(tmp, "\n<br><b>Birthday:</b> ", date, NULL); g_free(tmp); 3555 tmp = buf; buf = g_strconcat(tmp, "\n<br><b>Birthday:</b> ", date, NULL); g_free(tmp);
3556 } 3556 }
3557 if (info->age) { 3557 if (info->age) {
3558 char age[5]; 3558 char age[5];
3559 snprintf(age, sizeof(age), "%hhd", info->age); 3559 snprintf(age, sizeof(age), "%hhd", info->age);