diff --git a/libraries/redshop/helper/extrafields.php b/libraries/redshop/helper/extrafields.php index 632dc0af2fc..66b5b62ca3d 100644 --- a/libraries/redshop/helper/extrafields.php +++ b/libraries/redshop/helper/extrafields.php @@ -1500,11 +1500,13 @@ public static function listAllFieldDisplay( // 12 :- Date Picker case self::TYPE_DATE_PICKER: $extraFieldValue = ($dataValue && $dataValue->data_txt) ? $dataValue->data_txt : ''; + $extraFieldValueDateFormat = strtotime($extraFieldValue); + $extraFieldValueDateFormatByConfig = RedshopHelperDatetime::convertDateFormat($extraFieldValueDateFormat); $exField .= RedshopLayoutHelper::render( 'field_display.datepicker', array( 'extraFieldLabel' => $extraFieldLabel, - 'extraFieldValue' => $extraFieldValue, + 'extraFieldValue' => $extraFieldValueDateFormatByConfig, 'sendMail' => $sendmail ), '',