drmr32
Junior Member
Posts: 2
Registered: 12/19/2003
Member Is Offline
|
| posted on 12/19/2003 at 08:41 PM |
|
|
Calendar is a Day off.. HELP!
Can anyone help me?? Everything is set up correctly but the date is off my one day. On the server the date is correct so that is not the problem.
Does anyone know what I should do to correct that? :(
heres the calendar
www.wonbyonenj.org/events.php
|
|
|
nazwiz
Member
Posts: 15
Registered: 11/24/2003
Member Is Offline
|
| posted on 12/20/2003 at 02:31 AM |
|
|
Wrong Day
Where are you seeing the incorrect date?
|
|
|
drmr32
Junior Member
Posts: 2
Registered: 12/19/2003
Member Is Offline
|
| posted on 12/20/2003 at 03:28 AM |
|
|
Ok I figured out why the day was incorrect. I had moved the top/line for the numbers of the week and changed it to none. It moved all the dates but
left the days in the same stop. In order for it to work properly I have to leave the number of the weeks on the left. If you know how I can get rid
of the numbers of the week and keep it the same that would be soo helpful.
|
|
|
Rienk
Junior Member
Posts: 2
Registered: 1/3/2004
Member Is Offline
|
| posted on 1/3/2004 at 10:10 PM |
|
|
Yes, and this is not the only problem... No matter what timezone I enter, around 10 pm the day switches to the the next day. Also, setting the
weeknumber to none indeed messes up the Calender... the older version never showed these problems, unfortunately it did show the wrong year
|
|
|
sshadow
Junior Member
Posts: 2
Registered: 1/5/2004
Member Is Offline
|
| posted on 1/5/2004 at 09:46 PM |
|
|
Actually it makes the Sat header disappear and moves remaining day headers to the left.
|
|
|
sshadow
Junior Member
Posts: 2
Registered: 1/5/2004
Member Is Offline
|
| posted on 1/5/2004 at 09:55 PM |
|
|
I just found a solution:
Set "Show week numbers" to 'None'
Comment out this code block in Calendar.php
if($show_week_numb==1) {
$d=$i*$hw+1+$__s-$dwf;
(($i==($s_i+$__s2)&&$days_location==1)||($i==$rows-1&&$days_location==2)) echo "<td
".style_bg($header2_bg_color)."> </td>";
else echo "<td align=\"center\" ".style_bg($header2_bg_color)."><span
class=\"$header2_font_color\">".W_N($m,$d,$y)."</span></td>";
}
|
|
|
Rienk
Junior Member
Posts: 2
Registered: 1/3/2004
Member Is Offline
|
| posted on 1/7/2004 at 01:34 AM |
|
|
Of course! This is geniously simple! Only, it of course only works if you set "Show week numbers" to 'Left', at least that works
for me.
Thank you very, very much.
|
|
|