Hello,
Since the last release, this tag doesn’t work anymore :
<If acf_date=my_custom_acf_date_field after=today>
Could you check asap please ?
Hello,
Since the last release, this tag doesn’t work anymore :
<If acf_date=my_custom_acf_date_field after=today>
Could you check asap please ?
Hi @bikloz,
There was a breaking change in the latest release:
ACF integration
You can either downgrade the plugin as a temporary fix or update your logic to accommodate.
I’ve read that note but what is the new logic now to make this tag work ?
@bikloz I just tested this myself and was able to confirm that date conditionals seem to have been overlooked in the modifications to the ACF date/time fields. I’ve reported the issue here on Github.
I think in this case it’s an actual bug/oversight, but I imagine there are going to be some other people whose templates might be affected by the format change and who might need to update their templates, so thanks for sharing that tip. I think for the most part, if anyone runs into issues with their ACF date fields when updating to 4.1.0, the easier solution will probably be to simply change the “return format” for that field in their ACF settings to make it match whatever the date format in their WP site setting is. This “return format” setting didn’t use to do anything, but in the latest release, L&L actually respects the ACF setting the person has chosen.
Yeah, I also meant this but I was too lazy to explain it properly.
Thanks for these answers. Actually I have the ACF repeater issue too so I rollback and wait for the next release
@bikloz the 4.1.1 update should fix this issue, let me know if you notice anything else we need to address.
ACF integration: Date field types: Ensure unformatted value is passed to date conditions
Yes, it works now. Thank you Benjamin