camptocamp / oapi-poc

OGC API & STAC - Proof of Concept

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"datetime" parameter: issue with ending 'Z' in datetime value

p1d1d1 opened this issue · comments

@b4l when doing a request with the datetime parameter, the API requires the datatime value to have an ending 'Z', otherwise and error is returned.
Not sure this is the right behaviour. IMHO it shoul accept datetimes without the ending 'Z'.
Some clients (e.g. QGIS) do not send the ending 'Z' in request and won't be able to use the API

@p1d1d1 you can provide anything that conforms to https://www.rfc-editor.org/rfc/rfc3339.html#section-5.6. No timezone indication is not an option.