Strange things happening here.
I played with your calendar quite a bit and there seems to be a problem with perl's date calculations on your server. Do you have any odd settings for the default time zones or are you aware if your webhost transferred your domain from server to server? What is happening is that the date being returned by the perl timegm function on your forum is off by a day.
I entered an event on Feb 24th:
Quote:If you click the link above you will see the event, but note the date which is given as the 23rd. Somehow the date is getting knocked back a day. You'll note that all the calendar function work except anytime that the days of the month are being listed out. This is because when the dates are knocked back a day, the first day of the month is now returning a time/date index prior to the beginning of the month and the script knows to stop counting days when it reaches a date outside the current month so it stops with the very first date (instead of the first date past the end of the month as normal).
If you check this link you will see what I mean.
Quote:Month 0 is January
Day 1 is the 1st of the month so this link should go to Jan 01, 2005. But since your perl is returning dates one day early the link goes to Dec 31, 2004.
Your best bet is to see if you can fix your server or perl install. I have no idea why this error occurs.
If you can't find a way to fix that then try this:
Everywhere you find this line:
my($thisdaysecs) = timegm(0,0,0,1,$thismonth,$thisyear);
change it to:
my($thisdaysecs) = timegm(0,0,0,2,$thismonth,$thisyear);
This will bump up the date by one day. You will need to modify the NewcalMonth.pl, NewcalYear.pl, NewcalIndex.pl, and NewcalPost.pl files. I think this should fix it but I'm concerned events might now show up but be bumped to the wrong date. Let me know and we'll keep hammering at it.
Dan