microformats / h-event

This repository is for tracking and resolving issues related to the h-event specification http://microformats.org/wiki/h-event
11 stars 3 forks source link

Define format for dt-duration #7

Closed dshanske closed 4 years ago

dshanske commented 4 years ago

http://microformats.org/wiki/h-event defined dt-duration as a stable property defined as the duration of the event. However, it does not show an example nor define a format.

hCalendar and iCal defined its duration property as an ISO8601 duration.

So, logically, the format should look something like: <time class="dt-duration" datetime="PT14M35S">14 minutes and 35 seconds</time>

@snarfed argued(https://github.com/snarfed/granary/issues/169#issuecomment-546194496), however, that ISO8601 durations are rare in the wild and seconds was much more universal. This was in a media file context, however.

dshanske commented 4 years ago

Related https://github.com/microformats/h-entry/issues/21

dshanske commented 4 years ago

Related https://indieweb.org/duration

dshanske commented 4 years ago

Oops, I missed this is already #5