octokit / routes

machine-readable, always up-to-date GitHub REST API route specifications
MIT License
84 stars 42 forks source link

Add format for date-time strings #731

Open WillAbides opened 4 years ago

WillAbides commented 4 years ago

Several string parameters have descriptions that indicate they take ISO8601 / RFC3339 format. It would be helpful if these parameters had {"format": "date-time"} set in their schema.

The following text is in the descriptions for all the instances I've found:

This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`