# HG changeset patch # User Richard Laager # Date 1139337739 0 # Node ID 9d27b032f58db5848d989a5f3b54909633484bf5 # Parent e1fd0dfa021f28d38b1cebccc863a940fa8dd685 [gaim-migrate @ 15527] %Z on win32 returns a time zone name, not a time zone abbreviation. Until I can find out how to get the proper abbreviation, let's not use one there. diff -r e1fd0dfa021f -r 9d27b032f58d src/log.c --- a/src/log.c Tue Feb 07 18:14:37 2006 +0000 +++ b/src/log.c Tue Feb 07 18:42:19 2006 +0000 @@ -643,7 +643,11 @@ gaim_build_dir (dir, S_IRUSR | S_IWUSR | S_IXUSR); tm = localtime(&log->time); +#ifdef _WIN32 + tz = ""; +#else tz = gaim_escape_filename(gaim_utf8_strftime("%Z", tm)); +#endif date = gaim_utf8_strftime("%Y-%m-%d.%H%M%S%z", tm); filename = g_strdup_printf("%s%s%s", date, tz, ext ? ext : "");