|
Posted by Phillip S. Baker on 02/01/05 21:20
I am posting this here, as it is a bug in the application and I awanted to
see if anyone else is using this and has come up with a solution.
If not and after I figure out more in the code what is going on, if I cannot
figure it out I will give you all a block of code. (Oh and I have emailed
the author, I was just planning on launching this site today and need a
solution ASAP)
I downloaded this calendar application from PHP Classes, called JCal. It is
a calendar with a tie in to a DB.
Functions exactly how I need it , however we just discovered a significant
bug today.
This is what I wrote the author:
>Start
On the first few days of the month things get real screwy.
This is hitting our stage site.
So I downloaded a clean install and loaded it locally and found the same
bug.
Doing some testing with the dates on my machine I discovered the following.
It has something to do with Sunday's or something.
So February 2005 starts on a Tuesday. It will display the 1st over and over
till the first sunday. Then it begins cycling just fine. IE It shows the 1st
6 times till the first sunday.
You move on to April which starts on Friday. It will show the 1st 3 times
till it hits that sunday then cycles fine.
It will also do this for each day thereafter till that first Sunday it hit.
IE in Febraury it shows the 1st 6 times, the 2nd 5 times, the 3rd 4times
etc.
After that first sunday it works fine.
I tried switch the day on the computer to other years and every month.
Same bug appears.
>End
Anyone else using this and found this problem?
Most importantly you come up with a solution?
--
Blessed Be
Phillip
Navigation:
[Reply to this message]
|