aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/timeutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/cal-util/timeutil.c b/calendar/cal-util/timeutil.c
index 2d769623aa..764ec5d078 100644
--- a/calendar/cal-util/timeutil.c
+++ b/calendar/cal-util/timeutil.c
@@ -97,8 +97,8 @@ time_from_isodate (const char *str)
if (len == 16) {
#if defined(HAVE_TM_GMTOFF)
- t -= my_tm.tm_gmtoff;
-#elsif defined(HAVE_TIMEZONE)
+ t += my_tm.tm_gmtoff;
+#elif defined(HAVE_TIMEZONE)
t -= timezone;
#endif
}