`timeRequired` RDFa example uses invalid (ambiguous) duration #1470

christianhujer opened this Issue Jan 9, 2017 · 0 comments


None yet

1 participant


The RDFa example for timeRequired contains the following HTML+RDFa fragment:

        Duration: <span property="duration">03:12</span>

This is ambiguous and therefore invalid: A tool wouldn't know whether the 03:12 represents 3 hours 12 minutes or 3 minutes 12 seconds. The corresponding HTML+RDFa should look like this:

Duration: <time property="duration" datetime="PT3H12M" content="PT3H12M">03:12</time>

Similarly, the markup for the following fragment of the same example should be improved:

       Typical length of lesson, <span property="timeRequired">1 hour</span>. 


       Typical length of lesson, <time property="timeRequired" datetime="PT1H" content="PT1H">1 hour</time>. 
@philbarker philbarker added a commit to philbarker/schemaorg that referenced this issue Jan 10, 2017
@philbarker philbarker correcting format of durations, fixes #1470 0cd6029
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment