W3C home > Mailing lists > Public > public-vocabs@w3.org > October 2011

OpeningHours

From: Robert Kost <rob@robertkost.com>
Date: Sun, 9 Oct 2011 10:07:16 -0400
To: <public-vocabs@w3.org>
Message-ID: <014101cc868c$c1b26860$45173920$@com>
Schema.org instructs on the use of OpeningHours as follows:

 

The opening hours for a business. Opening hours can be specified as a weekly
time range, starting with days, then times per day. Multiple days can be
listed with commas ',' separating each day. Day or time ranges are specified
using a hyphen '-'.
- Days are specified using the following two-letter combinations: Mo, Tu,
We, Th, Fr, Sa, Su.
- Times are specified using 24:00 time. For example, 3pm is specified as
15:00. 
- Here is an example: <time itemprop="openingHours" datetime="Tu,Th
16:00-20:00">Tuesdays and Thursdays 4-8pm</time>. 
- If a business is open 7 days a week, then it can be specified as <time
itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all
day</time>.

 

When these instructions are followed, the Rich Snippet Testing tool
complains:

 

Warning: openinghours refers to a datetime format that is not ISO 8601. 

 

Is this just a limitation of the testing tool?

 

Thanks

 

 

 

R o b e r t   K o s t

 
Received on Monday, 10 October 2011 21:24:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 06:48:55 GMT