We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce68a6d commit 12d0b6fCopy full SHA for 12d0b6f
lib/internal/Magento/Framework/Stdlib/DateTime/Filter/Date.php
@@ -52,6 +52,12 @@ public function __construct(TimezoneInterface $localeDate)
52
*/
53
public function filter($value)
54
{
55
- return $this->_normalToLocalFilter->filter($this->_localToNormalFilter->filter($value));
+ $value = $this->_normalToLocalFilter->filter($this->_localToNormalFilter->filter($value));
56
+
57
+ /**
58
+ * its not a space in str_replace, don't delete it, it would cause a bug
59
+ * @todo MAGETWO-51391
60
+ */
61
+ return str_replace(' ', '', $value);
62
}
63
0 commit comments