# HG changeset patch # User Luke Schierer # Date 1090772384 0 # Node ID 9c78aaa4117e7025de70cccdb086417dfcab4721 # Parent bc910eb2679f6a1689688e22acce157460c519ba [gaim-migrate @ 10435] " This patch moves from the localized date format %c to the ISO date format as the user log does. This makes logs locale independent." --Eduardo P?rez committer: Tailor Script diff -r bc910eb2679f -r 9c78aaa4117e ChangeLog --- a/ChangeLog Sun Jul 25 00:47:10 2004 +0000 +++ b/ChangeLog Sun Jul 25 16:19:44 2004 +0000 @@ -7,6 +7,7 @@ * Visual display of ops/voice/halfops/so on in Chats (Stu Tomlinson) Bug Fixes: + * Use ISO date format for the system log (Eduardo Pérez) * Long buddy lists with irc should cause flooding disconnects less (Stu Tomlinson) @@ -66,7 +67,7 @@ logged in using the web messenger method Bug Fixes: - * Fixed Yahoo! authentication problems. (Cerulean Studios) + * Fixed Yahoo! authentication problems. (Cerulean Studios) * Non-looping animated icons no longer cause Gaim to freeze * Flashing windows should work again for unix in window managers that support the URGENT hint (Etan Reisner) diff -r bc910eb2679f -r 9c78aaa4117e src/log.c --- a/src/log.c Sun Jul 25 00:47:10 2004 +0000 +++ b/src/log.c Sun Jul 25 16:19:44 2004 +0000 @@ -560,7 +560,7 @@ gaim_markup_html_to_xhtml(message, &msg_fixed, NULL); if(log->type == GAIM_LOG_SYSTEM){ - strftime(date, sizeof(date), "%c", localtime(&time)); + strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&time)); fprintf(data->file, "---- %s @ %s ----
\n", msg_fixed, date); } else { strftime(date, sizeof(date), "%H:%M:%S", localtime(&time)); @@ -749,7 +749,7 @@ stripped = gaim_markup_strip_html(message); if(log->type == GAIM_LOG_SYSTEM){ - strftime(date, sizeof(date), "%c", localtime(&time)); + strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&time)); fprintf(data->file, "---- %s @ %s ----\n", stripped, date); } else { strftime(date, sizeof(date), "%H:%M:%S", localtime(&time));