# HG changeset patch
# User Richard Laager <rlaager@wiktel.com>
# Date 1139337739 0
# Node ID 87ca2f6bd0dcf986ff39b60a092a65ae396908c3
# Parent  b230ed49c5d1ed9cf42232b02514849c92709ef3
[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.

committer: Tailor Script <tailor@pidgin.im>

diff -r b230ed49c5d1 -r 87ca2f6bd0dc 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 : "");