Events Made Easy Forums Bug fixed or feature request implemented Datetime property ‘startDate’ is missing a time zone

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #61110
    Anonymous
    Inactive

    Google search console again here. When I set the location as virtual, google now don’t know what’s the timezone of the startdate, therefore it started to complain about that. It considers it an error, so it doesn’t include event in search. According to documentation when location is online, timezone has to be specified.

    More info here: https://developers.google.com/search/docs/data-types/event

    #61111
    Franky
    Keymaster

    Google is starting to get on my nerves … when I tested this, I got no such feedback.
    Anyway, try this change:
    https://plugins.trac.wordpress.org/changeset/2285904/

    #61148
    Anonymous
    Inactive

    They are starting to get on my nerves as well. Every time it takes few days for google to reflect on changes. And they did again. After upgrade, now they complain about the wrong format of startDate and endDate:

    Search Console has identified that your site is affected by 4 Events issues:
    
    Top Errors
    
    Errors can prevent your page or feature from appearing in Search results. The following errors were found on your site:
    
    Date/time not in ISO 8601 format in field 'startDate'
    
    Invalid value type for field 'startDate'
    
    Top Warnings
    
    Warnings are suggestions for improvement. Some warnings can enhance your appearance on Search; some might become errors in the future. The following warnings were found on your site:
    
    Invalid value type for field 'endDate'
    
    Date/time not in ISO 8601 format in field 'endDate'
    
    We recommend that you fix these issues when possible to enable the best experience and coverage in Google Search.

    I had a look at the HTML of my events page. I presume we are missing T delimiter between date and time part of startdate and endDate

    "startDate":"2020-05-0508:00+02:00","endDate":"2020-05-0510:30+02:00"

    #61149
    Franky
    Keymaster

    Well, this seems to be more an error on my end (I forgot the “T”). But at the same time I found that php already supports this better than me, so this should work:
    https://plugins.trac.wordpress.org/changeset/2293319/

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top