I don't need to worry about expiration dates for the discount codes, so I've not bothered to install the Date module (which is indicated if such support is required). However I'm now getting feedback from users telling me that they've tried to use a discount code and are being told that the code has expired.
Am I doing something wrong?
I'm going to install Date module and see if that helps to clear the problem up - at least it will give me the option of setting an expiration date far into the future.

Comments

dharmatech’s picture

Assigned: Unassigned » dharmatech

Unfortunately this is a regression bug. _is_expired() should check the string before comparing since strtotime() returns a negative value. I'll post a fix later today. If you install Date module and enable Date API that should be sufficient to set an expiration.

dharmatech’s picture

Status: Active » Fixed

Fix is in -dev, rebuild should happen within 12 hours.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.