mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fix for birthday check on home page
This commit is contained in:
parent
123912f5d5
commit
d48689bba8
@ -33,11 +33,8 @@
|
||||
"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" );
|
||||
$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"]);
|
||||
|
Loading…
Reference in New Issue
Block a user