`timeRequired` examples show invalid values. #1469

Open
christianhujer opened this Issue Jan 9, 2017 · 0 comments

Projects

None yet

1 participant

@christianhujer

The timeRequired example given 'P30M' probably shall mean "30 minutes". However, 'P30M' actually means a duration of 30 months, which I do not think was the intention. The correct way to specify a duration of 30 minutes is 'PT30M'.

The timeRequired example given 'P1H25M' is invalid, as "P1H25M" is not a valid duration string. The correct way to specify a duration of 1 hour and 25 minutes is 'PT1H25M'.

The timeRequired property: http://schema.org/timeRequired
Description of ISO8601 durations: https://en.wikipedia.org/wiki/ISO_8601#Durations

@philbarker philbarker added a commit to philbarker/schemaorg that referenced this issue Jan 10, 2017
@philbarker philbarker correcting examples in timeRequired. Fixes #1469 345923a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment