Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1 Calemndar problem depends on actual month

open
nobody
None
5
2012-10-23
2006-10-31
No

In file:
calendar.js, lines 94,95 should be in reverse order,
because if month is set before day, there are no days
in month shown (default tmpdate has actual day of
month, but when actual day has 31 days, and month
before or month after - 30, function set bad month
number(and condition in while loop is not work properly)).
Set your system clock to: 31-Nov and try to switch to
month nr 2,6,9, or 11.

So good order is:

tmpdate.setDate(1);
tmpdate.setMonth(OAT.Calendar.date[1]-1);

Discussion

  • ondras
    ondras
    2006-10-31

    Logged In: YES
    user_id=1038215

    Thanks for reporting, this is really a bug. It will be fixed
    in next release.

    Ondrej Zara

     


Anonymous


Cancel   Add attachments