# HG changeset patch # User Richard Laager # Date 1144194323 0 # Node ID a33208cc624747df0ee2cfe015749c56d6de24c6 # Parent dc28bca6a7b50529f3414e4d54a41367da67497f [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 diff -r dc28bca6a7b5 -r a33208cc6247 src/log.c --- 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;