Open
Description
Mautic Version
4.2.x series
PHP version
7.4
What browsers are you seeing the problem on?
Chrome
What happened?
When using date field in campaigns conditions, it seems like special keywords like Today
, Tomorrow
do not work. Absolute values like 2022-10-14
do seem to work. I also tried creating a segment with date = Today
and doesn't update contacts.
Also, date picker does not work for date fields in campaigns but works fine when creating segment using custom item fields.
How can we reproduce this issue?
- Create a custom object say Appointment
- Add a custom field of type Date to the object.
- Create an custom item of type Appointment with today's date in date picker.
- Link custom item to one of the contacts.
- Create a campaign that looks like -
Problem:
Campaign does not send confirmation email for contact with today's appointment. The same campaign works if the comparison is done using = 2022-10-14
.
Relevant log output
No response
Code of Conduct
- I confirm that I have read and agree to follow this project's Code of Conduct