Date logic was not working correctly. Kept giving me expired coupon

because the date logic was not validating correctly. @TODO: This new code only validates the dates though, and not the time inputs. Great plugin start though! I needed it for a client. Thanks!