Re: Bug: IPCop v2.0.2 Missing logs after year change

Olaf Westrik <weizen_42-Yz37vSk3/[email protected]>
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <[email protected]>
On 2012-01-02 18:03, Olaf Westrik wrote:

>> However, I can move from April 30 to May 1 with the>>   button, but not
>> Feb 28 to March 1,
>> I don't know why yet. March 1<<   Feb 28 works OK.
>
> calculatedate() increased the date to 2012-02-29, after that
> validatedate() first decreases the year to 2011 and notices (correctly)
> that 2011-02-29 does not exist, thus descreasing the date to 2011-02-28.
>
> I'll add some tweaking in calculatedate(), so it returns the correct date.

This is still on the list to be fixed before release of 2.0.3.
I have not decided on what would be the best fix though.


Olaf

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.