aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-12-16 04:13:14 +0800
committerDan Winship <danw@src.gnome.org>2000-12-16 04:13:14 +0800
commit44db6fc88d96e0808c4e7b866c4f60f4853b51de (patch)
tree69739c855ad93efca022b89eb1d1c89eecd392e0 /calendar/cal-util
parent60008f0511debe2651dd34000e368e3e313d9d41 (diff)
downloadgsoc2013-evolution-44db6fc88d96e0808c4e7b866c4f60f4853b51de.tar.gz
gsoc2013-evolution-44db6fc88d96e0808c4e7b866c4f60f4853b51de.tar.zst
gsoc2013-evolution-44db6fc88d96e0808c4e7b866c4f60f4853b51de.zip
Fix the sign in the HAVE_TM_GMTOFF case
* cal-util/timeutil.c (time_from_isodate): Fix the sign in the HAVE_TM_GMTOFF case svn path=/trunk/; revision=7053
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/timeutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/cal-util/timeutil.c b/calendar/cal-util/timeutil.c
index a718ed90f7..a2e1d7a38d 100644
--- a/calendar/cal-util/timeutil.c
+++ b/calendar/cal-util/timeutil.c
@@ -37,7 +37,7 @@ time_from_isodate (char *str)
if (str [15] == 'Z')
#if defined(HAVE_TM_GMTOFF)
- t -= my_tm.tm_gmtoff
+ t += my_tm.tm_gmtoff
#elif defined(HAVE_TIMEZONE)
t -= timezone
#endif