We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dc4dc7 commit 13ad0e6Copy full SHA for 13ad0e6
src/app/code/community/Hackathon/PromoCodeMessages/Model/Validator.php
@@ -163,7 +163,7 @@ protected function _validateGeneral($rule, $coupon)
163
164
// check to date
165
if ($rule->getToDate()) {
166
- $toDate = new Zend_Date($rule->getToDate() . ' 23:59:59', Varien_Date::DATE_INTERNAL_FORMAT);
+ $toDate = new Zend_Date($rule->getToDate(), Varien_Date::DATE_INTERNAL_FORMAT);
167
if ($now->isLater($toDate, Zend_Date::DATE_MEDIUM)) {
168
Mage::throwException($this->_formatMessage(
169
'Your coupon is no longer valid. It expired on %s.',
0 commit comments