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.
2 parents 0535b74 + 3b710bd commit 0280dfcCopy full SHA for 0280dfc
app/code/Magento/Payment/Block/Info/Cc.php
@@ -78,7 +78,7 @@ public function getCcExpMonth()
78
public function getCcExpDate()
79
{
80
$date = new \DateTime('now', new \DateTimeZone($this->_localeDate->getConfigTimezone()));
81
- $date->setDate($this->getInfo()->getCcExpYear(),$this->getInfo()->getCcExpMonth(), 1);
+ $date->setDate($this->getInfo()->getCcExpYear(), $this->getInfo()->getCcExpMonth() + 1, 0);
82
return $date;
83
}
84
0 commit comments