mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-09 01:25:22 +01:00
Bday length checking
This commit is contained in:
parent
ab11b27114
commit
ace6936802
@ -530,6 +530,8 @@
|
||||
} elseif ($value=="BDAY") {
|
||||
$tmp = split("/",$buffer[$value]); # 12/31/1969 -> 1969-12-31
|
||||
if ($tmp[0]) {
|
||||
if (strlen($tmp[0]) == 1) { $tmp[0] = '0'.$tmp[0]; }
|
||||
if (strlen($tmp[0]) == 1) { $tmp[1] = '0'.$tmp[1]; }
|
||||
$entry .= "BDAY:". $tmp[2]."-".$tmp[0]."-".$tmp[1]."\n";
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user