Fix for birthday check on home page

This commit is contained in:
skeeter 2001-04-21 02:09:20 +00:00
parent 123912f5d5
commit d48689bba8

View File

@ -33,12 +33,9 @@
"n_family" => "n_family",
"bday" => "bday"
);
$today = $phpgw->common->show_date(mktime(0,0,0,
$phpgw->common->show_date(time(),"m"),
$phpgw->common->show_date(time(),"d"),
$phpgw->common->show_date(time(),"Y")),"n/d" );
//echo $today."\n";
$now = time() - ((60 * 60) * intval($phpgw_info['user']['preferences']['common']['tz_offset']));
$today = $phpgw->common->show_date($now,'n/d');
// echo $today."\n";
$bdays = $c->read(0,15,$qfields,$today,'tid=n','','',$phpgw_info["user"]["account_id"]);