From 8bc4d7f5da3780f58e553b983cf0ad9bf5c23c18 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sat, 19 May 2001 05:00:18 +0000 Subject: [PATCH] Fix for the birthday check. --- addressbook/inc/hook_home.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addressbook/inc/hook_home.inc.php b/addressbook/inc/hook_home.inc.php index 0046377476..da3892417f 100644 --- a/addressbook/inc/hook_home.inc.php +++ b/addressbook/inc/hook_home.inc.php @@ -34,7 +34,7 @@ "bday" => "bday" ); $now = time() - ((60 * 60) * intval($phpgw_info['user']['preferences']['common']['tz_offset'])); - $today = $phpgw->common->show_date($now,'n/d'); + $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"]); @@ -47,7 +47,7 @@ echo "" . lang("Today is x's birthday!", $tmp) . "\n"; } - $tomorrow = $phpgw->common->show_date($now + 86400,'n/d'); + $tomorrow = $phpgw->common->show_date($now + 86400,'n/d/'); // echo $tomorrow."\n"; $bdays = $c->read(0,15,$qfields,$tomorrow,'tid=n','','',$phpgw_info["user"]["account_id"]);