From 453c0d07bc4ba2c60245ecf6e83100ac4b74001b Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 16 May 2014 07:30:24 +0000 Subject: [PATCH] Core: ScanWwwTime fixed time zone issue git-svn-id: svn://ultimatepp.org/upp/trunk@7387 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/InetUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/InetUtil.cpp b/uppsrc/Core/InetUtil.cpp index 4902c33d0..dafc90f43 100644 --- a/uppsrc/Core/InetUtil.cpp +++ b/uppsrc/Core/InetUtil.cpp @@ -49,7 +49,7 @@ bool ScanWwwTime(const char *s, Time& tm) tm.minute = p.ReadInt(0, 59); if(p.Char(':')) tm.second = p.ReadInt(0, 59); - tm += 60 * (ScanTimeZone(p.GetPtr()) - GetTimeZone()); + tm += 60 * (GetTimeZone() - ScanTimeZone(p.GetPtr())); } catch(CParser::Error) { return false;