hi,
can I know what is the placeholder you use to disable event date/time? also, what is the timezone you are using at WP Settings > General > Timezone ?
The timezone in the WP Settings is Los Angeles.
Code for the events list: http://pastebin.com/uRvbW8N0
Code for the single event: http://pastebin.com/3bXYYGne
One thing to note is we have a development site, and everything is working just fine.
Can you check whether the server time between your production and development sites are the same please?
Thanks
I don’t know if anyone else noticed but if you look at all the events on that page the difference in date is only for the one event. All the other events show the same date on the single event page as the events page.
@philipjohn Yes, the server time and time zone is the exact same for both dev and live.
A couple troubleshooting things I just tried doing:
1. Deleted and created the event again. Still didn’t work.
2. Changed the time from being all day to 1-7pm and now the date is correct. So it appears it’s something with the “All day” checkbox.
Have you tried adding full spaces around the placeholders? So instead of this
{has_time}, #_12HSTARTTIME - #_12HENDTIME{/has_time}
you have this
{has_time} , #_12HSTARTTIME - #_12HENDTIME {/has_time}
It’s possible the lack of spaces is interfering with the parsing in some way.