GX-Bug #45556 » CustomersDateOfBirthFix.patch
| src/GXEngine/Classes/CoreServices/Customer/ValueObjects/CustomerDateOfBirth.inc.php (revision ) | ||
|---|---|---|
| 65 | 65 |
$formattedDate = parent::format($p_format); |
| 66 | 66 |
if($this->isNullDate) |
| 67 | 67 |
{
|
| 68 |
$formattedDate = preg_replace('/\d/i', '0', $formattedDate);
|
|
| 68 |
$formattedDate = '1000-01-01 00:00:00';
|
|
| 69 | 69 |
} |
| 70 | 70 |
|
| 71 | 71 |
return $formattedDate; |