Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Include standard Duration pattern that matches the one used for JSON #1290
The standard Duration pattern described in the docs:
has a pattern
I honestly don't remember the origin of using this instead of the standard pattern, but I'd argue that we shouldn't change it at this point; it would be a breaking change for stored information for little benefit.
Rather than change either, I think it would probably be more useful to add an extra standard pattern that corresponds with the JSON one. Does that sound like a reasonable compromise?