Skip to content

Commit 6ea1eac

Browse files
authored
ENGCOM-4377: Fixed #21425 Date design change show not correctly value in backend #21443
2 parents 9a78c5e + d394192 commit 6ea1eac

File tree

1 file changed

+4
-1
lines changed
  • app/code/Magento/Backend/Block/System/Design/Edit/Tab

1 file changed

+4
-1
lines changed

app/code/Magento/Backend/Block/System/Design/Edit/Tab/General.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
namespace Magento\Backend\Block\System\Design\Edit\Tab;
88

9+
/**
10+
* General system tab block.
11+
*/
912
class General extends \Magento\Backend\Block\Widget\Form\Generic
1013
{
1114
/**
@@ -90,7 +93,7 @@ protected function _prepareForm()
9093
]
9194
);
9295

93-
$dateFormat = $this->_localeDate->getDateFormat(\IntlDateFormatter::SHORT);
96+
$dateFormat = $this->_localeDate->getDateFormatWithLongYear();
9497
$fieldset->addField(
9598
'date_from',
9699
'date',

0 commit comments

Comments
 (0)