Board Logo

Calendar is off by one year in January only
lintguy - 8/22/2006 at 01:47 AM

Is anyone else experiencing the problem of the calendar being off by one year in the month of January? For instance, try scrolling through your years to January. At the top of my calendar, I see November, 2006 --> December, 2006 --> January, 2008 --> February, 2007!

Weird huh?

Any suggestions?

Here's my calendar:

dantes_game - 10/23/2006 at 12:27 AM

Mine is off but only by 1 month... it's a month behind. My current calendar is displaying as "September" when it should be October...

I'm sure there's a way to fix this but I don't want to go mucking around with the files just yet.

Anybody have any advice to offer?

sunrisecc - 10/30/2006 at 02:00 PM

I posted this last year on this board.

It might solve the problem for you. For more detail, search on my submissions on this board.

With permission of SoftComplex
and if you are using the latest calendar.php (1.5.1) in folder cl_files at line 518 in function make_date (...

return $this->get_date($format, mktime(0, 0, 0, $m, $d, $y));

return date($format, mktime(0, 0, 0, $m, $d, $y));

That is just remove $this->get_

Back to forum: