From 66631dfc2bcea4ea9b740b604da7b031da74963e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 6 Apr 2007 11:49:06 +0000 Subject: [PATCH] fix for bug #579: Birthdays are not synced properly in server -> client direction in 1.2.106 --- addressbook/inc/class.sifaddressbook.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.sifaddressbook.inc.php b/addressbook/inc/class.sifaddressbook.inc.php index 0d2c9aa42f..d79706b9c7 100644 --- a/addressbook/inc/class.sifaddressbook.inc.php +++ b/addressbook/inc/class.sifaddressbook.inc.php @@ -282,7 +282,7 @@ case 'Birthday': if(!empty($value)) { $dateParts = explode('/',$value); - $value = sprintf('%04-d%02-d%02',$dateParts[2],$dateParts[0],$dateParts[1]); + $value = sprintf('%04d-%02d-%02d',$dateParts[2],$dateParts[0],$dateParts[1]); } $sifContact .= "<$sifField>$value"; break;