Better time offset calculation
authorJose Dapena Paz <jdapena@igalia.com>
Tue, 2 Jun 2009 12:22:14 +0000 (14:22 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Tue, 2 Jun 2009 14:08:42 +0000 (16:08 +0200)
src/widgets/modest-account-view.c

index 28e28ba..74e86f4 100644 (file)
@@ -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);