Skip to content

Commit

Permalink
MAGETWO-57835: [Github] Cannot save customer dob attribute if admin i…
Browse files Browse the repository at this point in the history
…nterface locale is en_GB #6323
  • Loading branch information
Sergey Semenov committed Sep 22, 2016
1 parent 910b937 commit 5632d2a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/code/Magento/Ui/Component/Form/Element/DataType/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

use Magento\Framework\Locale\ResolverInterface;
use Magento\Framework\Stdlib\DateTime\TimezoneInterface;
use Magento\Framework\View\Element\UiComponentInterface;
use Magento\Framework\View\Element\UiComponent\ContextInterface;

/**
Expand All @@ -21,12 +22,14 @@ class Date extends AbstractDataType
*
* @var string
*/
private $locale;
protected $locale;

/**
* @var TimezoneInterface
* Wrapped component
*
* @var UiComponentInterface
*/
private $localeDate;
protected $wrappedComponent;

/**
* @param ContextInterface $context
Expand Down

0 comments on commit 5632d2a

Please sign in to comment.