Skip to content

Commit

Permalink
🔃 [EngCom] Public Pull Requests - 2.1-develop
Browse files Browse the repository at this point in the history
Accepted Public Pull Requests:
 - #17496: [Backport] Magento 2.2.5: Year-to-date dropdown in Stores>Configuration>General>Reports>Dashboard #17289 (by @ronak2ram)


Fixed GitHub Issues:
 - #17289: Magento 2.2.5: Year-to-date dropdown in Stores>Configuration>General>Reports>Dashboard (reported by @joshuaflood) has been fixed in #17496 by @ronak2ram in 2.1-develop branch
   Related commits:
     1. 80b41cf
     2. a19df73
  • Loading branch information
Stanislav Idolov authored Aug 13, 2018
2 parents 227acb8 + 9af1457 commit 3e387ea
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ protected function _getElementHtml(AbstractElement $element)
{
$_months = [];
for ($i = 1; $i <= 12; $i++) {
$_months[$i] = $this->_localeDate->date(mktime(null, null, null, $i))->format('m');
$_months[$i] = $this->_localeDate->date(mktime(null, null, null, $i, 1))->format('m');
}

$_days = [];
for ($i = 1; $i <= 31; $i++) {
$_days[$i] = $i < 10 ? '0' . $i : $i;
Expand Down

0 comments on commit 3e387ea

Please sign in to comment.