Which date format should we support? #145
carlosthe19916
started this conversation in
General
Replies: 1 comment 4 replies
-
I guess what you mean is RFC3339. Which is a sub-set of what ISO 8601 allows. From what I understand, most of the documents we're working with are use RFC3339 as well. ISO 8601 allows for variants like:
It can even have 6 digit years. Have fun exploring: https://ijmacd.github.io/rfc3339-iso8601/ |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are 2 scenarions:
Output data
This is the data that the server generates and exposes through the API. I believe we should use ISO 8601 as it is the format used on the web.
Even if we think we should use a different format different from ISO 8601, the OUTPUT data from the server should be only ONE and only ONE, no multiple format formats.
Input data: data send to the server through the REST API
GET /advisories?q="created>=DATE"
. My suggestion is to start withISO 8601
format as this is the format used in the web.Beta Was this translation helpful? Give feedback.
All reactions