From c7f65a5481ff942748c65fe8abacb53767fc83ec Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Tue, 2 Jun 2009 14:22:14 +0200 Subject: [PATCH] Better time offset calculation --- src/widgets/modest-account-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.9.5