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

Should a format for duration be specified? #5

Open
Zegnat opened this issue Aug 9, 2019 · 1 comment
Open

Should a format for duration be specified? #5

Zegnat opened this issue Aug 9, 2019 · 1 comment

Comments

@Zegnat
Copy link
Member

Zegnat commented Aug 9, 2019

Inspired by snarfed/granary#169. mf1 (both [hAudio](http://microformats.org/wiki/haudio and hCalendar) used to recommend ISO 8601 durations for duration properties. This made it clear for both authors and consumers what sort of value they could expect.

Currently we do not specify any duration format for h-event’s dt-duration. Would it be a good idea if we did?

I would lean towards specifying HTML’s duration syntax. This will mean it stays compatible with HTML datetime properties.

@dshanske
Copy link
Member

Related: microformats/h-entry#21

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

2 participants