Problem: I have a View with a post date Query Filter, set to display posts whose publish date is after or equal to: Minute: PAST_ONE(19). However, the filter doesn't seem to be working as expected when I change the WordPress timezone value. It works when set to UTC.
Solution: Check the Query Filter and make sure you have set the Year, Month, Day, and Hour criteria to CURRENT_ONE, otherwise, you will not get the expected results.
Relevant Documentation:
https://toolset.com/documentation/user-guides/date-filters/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
This topic is split from https://toolset.com/forums/topic/delete-created-post-by-cred-commerce-on-cart-abandon-and-clear-cart/
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 5 replies, has 2 voices.
Last updated by 6 years, 2 months ago.
Assisted by: Christian Cox.