Opening Schema.orgHours w / several times and days that are closed

I looked at the Schema.org specification for hours of operation, but it did not seem to be able to solve two key issues: 1) Localbusinesses, which have several hours (i.e. 8-12, 1-5 with a hole in the middle closed for lunch) 2 ) Days when the business is completely closed.

I can not find examples of how anyone else does this on google, this is my code for normal hours only (9-5) and my GUESS for how to handle closed days.

Can someone call back within a few hours and confirm the correctness of my processing of closed days?

<time itemprop="openingHours" datetime="Mo 08:30-12:00"> <div style="font-weight:bold;width:100px;margin-right:10px;padding:5px;clear:both;float:left;">Monday</div> <div style="float:left;padding:5px;"> 08:30AM - 12:00PM </div> </time> <br /> <time itemprop="openingHours" datetime="Tu 08:30-12:00"> <div style="font-weight:bold;width:100px;margin-right:10px;padding:5px;clear:both;float:left;">Tuesday</div> <div style="float:left;padding:5px;"> 08:30AM - 12:00PM </div> </time> <br /> <time itemprop="openingHours" datetime="We 08:30-12:00"> <div style="font-weight:bold;width:100px;margin-right:10px;padding:5px;clear:both;float:left;">Wednesday</div> <div style="float:left;padding:5px;"> 08:30AM - 12:00PM </div> </time> <br /> <time itemprop="openingHours" datetime="Th 08:30-12:00"> <div style="font-weight:bold;width:100px;margin-right:10px;padding:5px;clear:both;float:left;">Thursday</div> <div style="float:left;padding:5px;"> 08:30AM - 12:00PM </div> </time> <br /> <time itemprop="openingHours" datetime="Fr 10:10-12:00"> <div style="font-weight:bold;width:100px;margin- right:10px;padding:5px;clear:both;float:left;">Friday</div> <div style="float:left;padding:5px;"> 10:10AM - 12:00PM </div> </time> <br /> <div style="font-weight:bold;width:100px;margin-right:10px;padding:5px;clear:both;float:left;">Saturday</div> <div style="float:left;padding:5px;"> <em>Closed</em> </div> <br /> <div style="font-weight:bold;width:100px;margin-right:10px;padding:5px;clear:both;float:left;">Sunday</div> <div style="float:left;padding:5px;"> <em>Closed</em> </div> 
+6
source share
1 answer

The second example is on the LocalBusiness schema page to illustrate both of the issues you raised:

 Hours: <meta itemprop="openingHours" content="Mo-Sa 11:00-14:30">Mon-Sat 11am - 2:30pm <meta itemprop="openingHours" content="Mo-Th 17:00-21:30">Mon-Thu 5pm - 9:30pm <meta itemprop="openingHours" content="Fr-Sa 17:00-22:00">Fri-Sat 5pm - 10:00pm 

This shows a restaurant that closes for a couple of hours in the afternoon and is not open on Sundays (meaning that no opening hours on Sunday are held).

+8
source

Source: https://habr.com/ru/post/906348/


All Articles