So. this problem has been giving me problems for a year. I had a custom post type with custom page template. I was calling – date() in my template. I realized that i had to change every instance of date() to wp_date(). For instance i had a if(date('D') == 'Sun')
i changed to if(wp_date('D') == 'Sun')
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users