GX-Bug #55953 » QuickEditSpecialDateFix.patch
src/GXMainComponents/Services/Core/QuickEdit/Repositories/Writer/QuickEditProductSpecialPricesWriter.inc.php (date 1522343417000) | ||
---|---|---|
271 | 271 |
} |
272 | 272 |
|
273 | 273 |
$dateFormat = ($_SESSION['language_code'] === 'de') ? 'd.m.y' : 'm.d.y'; |
274 |
$expirationDate = date($dateFormat, strtotime($expirationDate)); |
|
275 | 274 |
|
276 | 275 |
$dateValue = DateTime::createFromFormat($dateFormat, $expirationDate); |
277 | 276 |
|