Skip to content

Commit 0280dfc

Browse files
author
okarpenko
committed
Merge branch 'MAGETWO-35583' into BUGS
Conflicts: app/code/Magento/Payment/Block/Info/Cc.php
2 parents 0535b74 + 3b710bd commit 0280dfc

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Payment/Block/Info

1 file changed

+1
-1
lines changed

app/code/Magento/Payment/Block/Info/Cc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function getCcExpMonth()
7878
public function getCcExpDate()
7979
{
8080
$date = new \DateTime('now', new \DateTimeZone($this->_localeDate->getConfigTimezone()));
81-
$date->setDate($this->getInfo()->getCcExpYear(),$this->getInfo()->getCcExpMonth(), 1);
81+
$date->setDate($this->getInfo()->getCcExpYear(), $this->getInfo()->getCcExpMonth() + 1, 0);
8282
return $date;
8383
}
8484

0 commit comments

Comments
 (0)