From 2a8b0aed5639e19f3424e1261edc6b67c4d3d2a6 Mon Sep 17 00:00:00 2001 From: zimoch Date: Mon, 29 Nov 2010 15:50:20 +0000 Subject: [PATCH] wrong sign in time zone calculation --- src/TimestampConverter.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TimestampConverter.cc b/src/TimestampConverter.cc index 5178b1f..e8a69d5 100644 --- a/src/TimestampConverter.cc +++ b/src/TimestampConverter.cc @@ -468,8 +468,8 @@ startover: } } zone -= timezone/60; - tm->tm_min -= zone; - tm->tm_hour -= tm->tm_min / 60; + tm->tm_min += zone; + tm->tm_hour += tm->tm_min / 60; tm->tm_min %= 60; if (tm->tm_min < 0) {