jjbte on "[Plugin: The Events Calendar] Incorrect Greenwich Time Difference in Schema Start/End Dates"

ساخت وبلاگ

I have my WordPress timezone set to America/New York and all my events take place in that timezone. In my Events Calendar settings, I have Timezone mode set to "Use the local timezones for each event." When I check the box to Show timezone, the correct timezone (EDT or EST) is displayed for each event on the front end.

However, the Greenwich time difference is not correct for schema.org start and end dates. For instance, I have an event taking place on July 12 from 7:00-9:00 pm EDT. The ISO 8601 formatted date for schema markup is displayed as 2016-07-12T23:00:00+00:00 when it should be 2016-07-12T23:00:00-04:00. Furthermore, the end time is displayed as 2016-07-13T01:00:00+00:00 rather than 2016-07-13T01:00:00-04:00, which means Google sees the event as taking place on July 12-13 instead of simply July 12. Very frustrating.

Is there any way to get these ISO 8601 dates to display with the correct Greenwich time difference?

https://wordpress.org/plugins/the-events-calendar/

Hey @jjbte

I'm sorry to hear about that.

By the looks of it, this might be related to server time issue.
Would you mind checking that out ?

Additionally, could you provide us with an URL to your website so that we can check what is going on ?

Best regards,

Geoff B.

The server in question is in the same time zone as my site (America/New_York). If I run a PHP script that simply runs the command

echo date('c');

the correct ISO 8601 date is displayed (2016-05-11T18:57:45-04:00 at 6:57 PM EDT). So I don't see how my server could be causing this issue.

Do you have a private address to which I can send the site's URL?

Thanks.

Thanks for following up!

I'm afraid that we do not have a private address for sending the URL. We have that ability in the premium forum on our site, but we're unfortunately a bit more limited here in these forums.

Geoff

The issue is not resolved and I see others having the same problem.

The URL is http://www.lawrencegooley.com/.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 221 تاريخ : پنجشنبه 13 خرداد 1395 ساعت: 0:06