Review Request: kjs: Mark Date Infinity as invalid

Maks Orlovich maksim at kde.org
Sun Jul 22 21:20:27 BST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105387/#review16230
-----------------------------------------------------------

Ship it!


Ship It!

- Maks Orlovich


On July 6, 2012, 6:30 p.m., Bernd Buschinski wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105387/
> -----------------------------------------------------------
> 
> (Updated July 6, 2012, 6:30 p.m.)
> 
> 
> Review request for kdelibs.
> 
> 
> Description
> -------
> 
> kjs: Mark Date Infinity as invalid
> 
> we currently accept Infinity as a valid date, but its not, we even calc with it,
> which may or may not lead to a result, but always to the wrong result.
> 
> The correct way it to just report it as invalid, as we do by remembering it as NaN.
> 
> 
> Diffs
> -----
> 
>   kjs/date_object.cpp 8a1fc2c 
> 
> Diff: http://git.reviewboard.kde.org/r/105387/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bernd Buschinski
> 
>

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


More information about the kde-core-devel mailing list