Details
Description
In line 2940 we have following code:
$return = $this->_calcdetail($calc, $date, self::DATE_MEDIUM, 'de');
The valid code should look as follows:
$return = $this->_calcdetail($calc, $date, self::DATE_MEDIUM, $locale);
In line 2940 we have following code:
$return = $this->_calcdetail($calc, $date, self::DATE_MEDIUM, 'de');
The valid code should look as follows:
$return = $this->_calcdetail($calc, $date, self::DATE_MEDIUM, $locale);
Please tell me what your exact problem is.
The given code works as expected and sets the date within the date object regardless of the used locale. I will not change working code from core without a reproducable problem.