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

Add format "duration" #565

Closed
ralfhandl opened this issue Mar 9, 2018 · 2 comments
Closed

Add format "duration" #565

ralfhandl opened this issue Mar 9, 2018 · 2 comments

Comments

@ralfhandl
Copy link

Please add a format for durations in the format defined by ISO 8601 and cited by RFC3339 and XML Schema 1.1.

Example values:

  • P15DT1H22M1.5S fifteen days, one hour, twenty-two minutes, one and a half seconds
  • P30D thirty days
  • PT5M five minutes
@awwright
Copy link
Member

Since we've already got a bunch of other RFC3339 productions, I don't think this is unreasonable.

@handrews
Copy link
Contributor

@awwright @ralfhandl PR welcome :-)

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

No branches or pull requests

3 participants