fix for bug #579: Birthdays are not synced properly in server -> client direction in 1.2.106

This commit is contained in:
Ralf Becker 2007-04-06 11:49:06 +00:00
parent 24be3e4794
commit 66631dfc2b

View File

@ -282,7 +282,7 @@
case 'Birthday': case 'Birthday':
if(!empty($value)) { if(!empty($value)) {
$dateParts = explode('/',$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</$sifField>"; $sifContact .= "<$sifField>$value</$sifField>";
break; break;