Hi Léonie,
 
12.11.2014, 17:19, "Léonie Watson" <LWatson@PacielloGroup.com>:
 

 

I hope this is the right place to ask questions about schema.org vocabularies, but if it isn’t please let me know.

Well, there is an answer, so…

I have a question about the time format used in some vocabularies, for example the cookTime itemprop in the recipe vocabulary [1]. It requires a duration, which must use the ISO8641 format (HH:MM:SS).

Whereas this makes complete sense from a programmatic point of view, it’s not particularly user friendly from a content point of view. To a human “00:15:00” doesn’t easily translate into 15 minutes.

Is there a way to get the best of both worlds? I’m new to all this, so it’s more than likely I’m missing something obvious – suggestions most welcome!

Yep. you can put the ISO-8601-formatted value into a datetime attribute of the time element in HTML, and use a readable expression for the content, like so:
<time itemprop="cookTime" datetime="PT1H30M">1 1/2 hrs</time>
 
From the bit about advanced topics - dates, times… in the "Getting started" guide: http://schema.org/docs/gs.html#advanced_dates
 
cheers
--
Charles McCathie Nevile - web standards - CTO Office, Yandex
chaals@yandex-team.ru - - - Find more at http://yandex.com