[gaim-migrate @ 15527]

Tue, 07 Feb 2006 18:42:19 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Tue, 07 Feb 2006 18:42:19 +0000
changeset 13165
9d27b032f58d
parent 13164
e1fd0dfa021f
child 13166
2724be46f443

[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.

src/log.c file | annotate | diff | comparison | revisions
--- 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 : "");

mercurial