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 a7893f9 commit 395ed73Copy full SHA for 395ed73
app/code/Magento/Reports/Block/Adminhtml/Grid.php
@@ -127,8 +127,8 @@ protected function _prepareCollection()
127
* Validate from and to date
128
*/
129
try {
130
- $from = $this->_localeDate->scopeDate(null, $this->getFilter('report_from'), false);
131
- $to = $this->_localeDate->scopeDate(null, $this->getFilter('report_to'), false);
+ $from = $this->_localeDate->date($this->getFilter('report_from'), null, false, false);
+ $to = $this->_localeDate->date($this->getFilter('report_to'), null, false, false);
132
133
$collection->setInterval($from, $to);
134
} catch (\Exception $e) {
0 commit comments