[Proposal] Limit `duration` to ISO8601 duration format

https://github.com/jasnell/w3c-socialwg-activitystreams/issues/213

The duration property on the Content and Link classes currently allows
two possible values: either an integer indicating the number of
seconds or an ISO8601 duration. This adds complexity for implementers.
The original integer value was used in AS 1.0 and is kept only for
backwards compatibility reasons. Implementers of AS 2.0 should be
using the ISO8601 format instead. I'd like to propose
restrictingduration to the ISO8601 format.

Received on Tuesday, 20 October 2015 22:50:11 UTC