Problem: Date shows May 31, 2004 even though my server shows June 1, 2004. Problem is in the mini monthly block calendar (dont know if the weekly, etc blocks are affected as i don't use that).
To test go in ./blocks/pical_mini_calendar.php ~55
echo $cal->month; // displays 6
include( "$mod_path/read_configs.php" ) ;
echo $cal->month; // changes to 5
after some lengthy debugging (before finding the above), i came to the conclusion that the problem is in read_configs.php line ~35. I'm not sure if this is intentional or something you were doing when testing. Anyways, the fix is
./read_configs.php
FROM
$cal->user_TZ = $xoopsUser->timezone() ;
$cal->server_TZ = date( 'Z' ) / 3600 ;
// $cal->server_TZ = $xoopsConfig['server_TZ'] ;
TO
$cal->user_TZ = $xoopsUser->timezone() ;
//$cal->server_TZ = date( 'Z' ) / 3600 ;
$cal->server_TZ = $xoopsConfig['server_TZ'] ;
[edit]
It could have been because of the daylight savings. once it hit 1am (0:00) here, it worked fine with the original code.
[/edit]