comparison src/account.c @ 13119:fcde3faa1f57

[gaim-migrate @ 15481] This adds support for displaying log timestamps in their original timezone. If your OS's definition of struct tm sucks, then the log timestamps will show up in your local timezone, but converted, so the time is accurate. Yay! Anyway, this all works, as I've renamed lots of my log files locally, but currently, there's no code to save new logs in this name format. That's held up on a portability issue and backwards compatibility issue. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 04 Feb 2006 20:55:52 +0000
parents e0c9d63ad4a0
children e629076386f1
comparison
equal deleted inserted replaced
13118:8855973b487b 13119:fcde3faa1f57
1927 presence = gaim_account_get_presence(account); 1927 presence = gaim_account_get_presence(account);
1928 login_time = gaim_presence_get_login_time(presence); 1928 login_time = gaim_presence_get_login_time(presence);
1929 1929
1930 account->system_log = gaim_log_new(GAIM_LOG_SYSTEM, 1930 account->system_log = gaim_log_new(GAIM_LOG_SYSTEM,
1931 gaim_account_get_username(account), account, NULL, 1931 gaim_account_get_username(account), account, NULL,
1932 (login_time != 0) ? login_time : time(NULL)); 1932 (login_time != 0) ? login_time : time(NULL), NULL);
1933 } 1933 }
1934 1934
1935 return account->system_log; 1935 return account->system_log;
1936 } 1936 }
1937 1937