Closed duncanmcclean closed 1 year ago
This pull request fixes an issue that would crop up when trying to create/update a coupon since it was expecting expires_at to be a date.
expires_at
However, from v4 onwards, the Date fieldtype sends an array with date & time keys.
date
time
I fixed this for new coupons in #885 but this PR fixes it for updating coupons and also adds test cases to cover it.
Released as part of v5.3.0.
This pull request fixes an issue that would crop up when trying to create/update a coupon since it was expecting
expires_at
to be a date.However, from v4 onwards, the Date fieldtype sends an array with
date
&time
keys.I fixed this for new coupons in #885 but this PR fixes it for updating coupons and also adds test cases to cover it.