I use microdata and specifically the LocalBusiness schema on my site. I was also reading this: schema.org: Multiple opening hours on same day
But what I want is to define per day what the opening hours are, since they may vary a lot.
What I currently see in other examples is:
<time itemprop="openingHours" datetime="Tu-Fr 10:00-14:00">XYZ</time>
Can I also use either of these options?
<time itemprop="openingHours" datetime="Tu 10:00-14:00">XYZ</time>
<time itemprop="openingHours" datetime="Fr 11:00-14:00">XYZ</time>
or this
<meta itemprop="openingHours" content="Tu 10:00-14:00">XYZ
<meta itemprop="openingHours" content="FR 11:00-14:00">XYZ
And not only that, on some days a business might be only open by appointment. How to specify that? I'm assuming when I leave a day out in my <time> specification it will be interpreted as closed, but by appointment I don't know.
** UPDATE **
I now have this:
<div itemprop="openingHoursSpecification" itemscope="" itemtype="http://schema.org/OpeningHoursSpecification">
<link itemprop="dayOfWeek" href="http://purl.org/goodrelations/v1#Monday">
<time datetime="07:00">07:00</time> - <time datetime="01:00">01:00</time>
</div>
with Google rich snippet tool I now see
Item
type: http://schema.org/localbusiness
property:
name: Syriana
description:
address: Item 1
openinghoursspecification: Item 2
openinghoursspecification: Item 3
Item 2
type: http://schema.org/openinghoursspecification
property:
dayofweek: http://purl.org/goodrelations/v1#Monday
I see the day, but not the time in the rich snippet tool...why?