Closed jschaeff closed 1 year ago
Only accept full days in parameter, no time specification.
I made it to accept dates only in format 2022-06 (without day). If it is to accept 2022-06-01 as end date, should it return statistics for the whole month of June or until end of May? It seems kind of ambiguous.
Sorry, you're right. It's better to keep it like this (I was too quick)
The query
/query?start=2022-06-01
should be accepted. Currently it gives:BAD REQUEST: invalid value of parameter 'end'