Core: ScanWwwTime fixed time zone issue

git-svn-id: svn://ultimatepp.org/upp/trunk@7387 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-05-16 07:30:24 +00:00
parent ee758c167a
commit 453c0d07bc

View file

@ -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;