schema entry for openingHours error

#294353
  • Resolved Joe Fields
    Rank Math free

    Looking at the schema.org the openingHours entry of a location appears to be specified as using the first two letters of the weekday names rather than the full day name.

    In the markup produced by the rankmarth pro plugin we have the entry from our live site:

    “openingHours”: [“Monday,Tuesday,Wednesday,Thursday,Friday 09:00-17:00”],

    I believe according to the standard this should be rendered as:

    “openingHours”: [“Mo,Tu,We,Th,Fr 09:00-17:00”],

    This is the spec that I believe applies in this case:
    Schema.org Spec

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    The example you are seeing on Schema.org is for the Microdata method of adding the Schema. Rank Math uses JSON LD code to add the Schema and if you check the sample data of Google, you can see the full name of the days is being used in the Schema data: https://developers.google.com/search/docs/advanced/structured-data/local-business

    Hope this clarifies your doubts. Let us know if you need any other assistance.

    I see from the documentation of openingHoursSpecification.dayOfWeek

    that google says:

    “We accept both the official schema.org notation for indicating dayOfWeek (canonical URLs for Monday, Tuesday), as well as a shorter form being discussed in the schema.org community.”

    So that resolves my question.

    Thank you.

    Hello,

    We are super happy that we have addressed your concern. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind us asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘schema entry for openingHours error’ is closed to new replies.