From 18c9aebecad12ff04a971d803acbeb291fbc4ea6 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Mon, 29 Aug 2005 15:46:55 +0000 Subject: [PATCH] fix as discuused on wxdev for bc54 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/datetime.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index f0d29667ff..d3e20b66d5 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -2844,14 +2844,14 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date) p += tz.length(); } - + // make it minutes offset *= MIN_PER_HOUR; } // the spec was correct, construct the date from the values we found Set(day, mon, year, hour, min, sec); - MakeFromTimezone(TimeZone((wxDateTime_t)offset*SEC_PER_MIN)); + MakeFromTimezone(TimeZone((wxDateTime_t)(offset*SEC_PER_MIN))); return p; } -- 2.50.0