Review Request 118947: KJS: treat specified time correctly as localtime when passed to the Date() constructor

Bernd Buschinski b.buschinski at googlemail.com
Wed Jul 16 15:31:41 BST 2014



> On Juli 16, 2014, 2:27 nachm., Nicolás Alvarez wrote:
> > Was this forward-ported to khtml frameworks?

No, it was forward-ported to kjs framework, kjs is not a part of khtml


- Bernd


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118947/#review62512
-----------------------------------------------------------


On Juni 26, 2014, 12:03 nachm., Wolfgang Bauer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118947/
> -----------------------------------------------------------
> 
> (Updated Juni 26, 2014, 12:03 nachm.)
> 
> 
> Review request for kdelibs.
> 
> 
> Bugs: 335556
>     http://bugs.kde.org/show_bug.cgi?id=335556
> 
> 
> Repository: kdelibs
> 
> 
> Description
> -------
> 
> The commit https://projects.kde.org/projects/kde/kdelibs/repository/revisions/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".
> 
> Please note that this bug is also present in Frameworks5.
> 
> 
> Diffs
> -----
> 
>   kjs/date_object.cpp c8d776c 
> 
> Diff: https://git.reviewboard.kde.org/r/118947/diff/
> 
> 
> Testing
> -------
> 
> Loaded the test case from the bug report into Konqueror/KHTML. The correct time is shown now like in other browsers, including Konqueror/WebKit.
> 
> 
> Thanks,
> 
> Wolfgang Bauer
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140716/e1f9cff8/attachment.htm>


More information about the kde-core-devel mailing list