Skip to content

timeRequired examples show invalid values. #1469

@christianhujer

Description

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed Awaiting ReleaseFixed in main branch / posted to webschemas.org site / proposed for inclusion in next release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions