Mercurial > pidgin.yaz
changeset 13164:87ca2f6bd0dc
[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>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 07 Feb 2006 18:42:19 +0000 |
parents | b230ed49c5d1 |
children | c0a6b8f29035 |
files | src/log.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 : "");