Fixes a problem with the wrong date/data being displayed.

This commit is contained in:
skeeter 2001-08-15 12:37:01 +00:00
parent 21e323111d
commit 2969ec1875

View File

@ -24,7 +24,9 @@
if ($phpgw_info['user']['preferences']['calendar']['mainscreen_showevents'])
{
global $date;
$time = time() - ((60*60) * intval($phpgw_info['user']['preferences']['common']['tz_offset']));
$date = $phpgw->common->show_date($time,'Ymd');
$cal = CreateObject('calendar.uicalendar');
echo "\n".'<tr valign="top"><td><table border="0" cols="3"><tr><td align="center" width="35%" valign="top"><!-- BEGIN Calendar info -->'."\n"
. $cal->mini_calendar(