forked from extern/egroupware
fix for bug #579: Birthdays are not synced properly in server -> client direction in 1.2.106
This commit is contained in:
parent
24be3e4794
commit
66631dfc2b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user