mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
ee758c167a
commit
453c0d07bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue