Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define format for dt-duration #7

Closed
dshanske opened this issue Sep 12, 2020 · 3 comments
Closed

Define format for dt-duration #7

dshanske opened this issue Sep 12, 2020 · 3 comments

Comments

@dshanske
Copy link
Member

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(snarfed/granary#169 (comment)), however, that ISO8601 durations are rare in the wild and seconds was much more universal. This was in a media file context, however.

@dshanske
Copy link
Member Author

Related microformats/h-entry#21

@dshanske
Copy link
Member Author

Related https://indieweb.org/duration

@dshanske
Copy link
Member Author

Oops, I missed this is already #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant