Mercurial > pidgin.yaz
changeset 13581:a33208cc6247
[gaim-migrate @ 15963]
Display the log's original timestamp on Windows. This is less confusing than my crazy crackpot idea before... AND, the logs still sort by 'real' time relative to the user.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 04 Apr 2006 23:45:23 +0000 |
parents | dc28bca6a7b5 |
children | f98c559a1682 |
files | src/log.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/log.c Tue Apr 04 22:13:12 2006 +0000 +++ b/src/log.c Tue Apr 04 23:45:23 2006 +0000 @@ -698,8 +698,8 @@ { GaimLog *log; GaimLogCommonLoggerData *data; + struct tm tm; #if defined (HAVE_TM_GMTOFF) && defined (HAVE_STRUCT_TM_TM_ZONE) - struct tm tm; long tz_off; const char *rest; time_t stamp = gaim_str_to_time(gaim_unescape_filename(filename), FALSE, &tm, &tz_off, &rest); @@ -722,9 +722,9 @@ g_free(tmp); } #else - time_t stamp = gaim_str_to_time(filename, FALSE, NULL, NULL, NULL); + time_t stamp = gaim_str_to_time(filename, FALSE, NULL, &tm, NULL); - log = gaim_log_new(type, name, account, NULL, stamp, NULL); + log = gaim_log_new(type, name, account, NULL, stamp, &tm); #endif log->logger = logger;