- Timestamp:
- 2007-12-16T02:55:56Z (17 years ago)
- Branches:
- master
- Children:
- 5b9847d
- Parents:
- 191470d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
r191470d rf9c3e7b 24 24 */ 25 25 26 #define _XOPEN_SOURCE 26 27 #include <stdio.h> 27 28 #include <poll.h> … … 373 374 if(strlen(sd->info_birthday)) 374 375 { 375 // FIXME 19880101 -> str 376 g_string_append_printf(st, "Birthday: %s\n", sd->info_birthday); 376 char ib[256]; 377 struct tm tm; 378 strptime(sd->info_birthday, "%Y%m%d", &tm); 379 strftime(ib, 256, "%B %d, %Y", &tm); 380 g_string_append_printf(st, "Birthday: %s\n", ib); 377 381 g_string_append_printf(st, "Age:\n"); 378 382 }
Note: See TracChangeset
for help on using the changeset viewer.