While Schema.org writes
Here is an example:
<time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time>
.
on the HTML5 validator I get this error:
Bad value
Mo, Tu, We, Th, Fr 09:00-16:00
for attributedatetime
on elementtime
: The literal did not satisfy the time-datetime format.…" datetime="Mo, Tu, We, Th, Fr 09:00-16:00">every work day 9am to 16pm </time></li>
I really want to communicate the opening hours (and days) in Microdata, but it seems this is in conflict with HTML5.
Is there a format that is good for both or I should keep it for the bots and care not about valid HTML in this case?