From: Jose Dapena Paz Date: Tue, 2 Jun 2009 12:22:14 +0000 (+0200) Subject: Better time offset calculation X-Git-Tag: 3.0.17-rc10~18 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=c7f65a5481ff942748c65fe8abacb53767fc83ec Better time offset calculation --- diff --git a/src/widgets/modest-account-view.c b/src/widgets/modest-account-view.c index 28e28ba..74e86f4 100644 --- a/src/widgets/modest-account-view.c +++ b/src/widgets/modest-account-view.c @@ -220,7 +220,7 @@ get_last_updated_string(ModestAccountView *self, ModestAccountMgr* account_mgr, time (&now); localtime_tm = localtime (&now); if (last_updated) - last_updated -= time_get_utc_offset (localtime_tm->tm_zone); + last_updated -= localtime_tm->tm_gmtoff; #endif g_object_unref (server_settings); account_name = modest_account_settings_get_account_name (settings);