[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: [konqueror] [Bug 335556] Date() constructor treats time as UTC instead of localtime
From: Wolfgang Bauer <wbauer () tmo ! at>
Date: 2014-06-26 12:03:00
Message-ID: bug-335556-5021-517wOraKWo () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=335556
Wolfgang Bauer <wbauer@tmo.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Version Fixed In| |3.13.3
Resolution|--- |FIXED
Latest Commit| |http://commits.kde.org/kdel
| |ibs/0137c691cfe02e6fc0c99e2
| |ced15aea149e56b4b
--- Comment #3 from Wolfgang Bauer <wbauer@tmo.at> ---
Git commit 0137c691cfe02e6fc0c99e2ced15aea149e56b4b by Wolfgang Bauer.
Committed on 26/06/2014 at 11:55.
Pushed by wbauer into branch 'KDE/4.13'.
KJS: treat time correctly as localtime in the Date() constructor
Commit 48dd1fc50277b861b49613c5f46b6f8b10cc932d introduced a bug:
It factors out the code to convert a time specification to an actual
time value into the function makeTimeFromList().
But in that function makeTime(&t, ms, true) is called, whereas the
original code called makeTime(&t, ms, false) for the constructor.
This patch fixes it by passing the "utc" parameter to makeTime() instead
of "true".
FIXED-IN: 3.13.3
REVIEW: 118947
M +1 -1 kjs/date_object.cpp
http://commits.kde.org/kdelibs/0137c691cfe02e6fc0c99e2ced15aea149e56b4b
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic