You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tyrasd
changed the title
Inconsistency in timestamps: wome with, some without time zone
Inconsistency in timestamps: some with, some without time zone
Nov 23, 2023
At first glance, it seems that the /elements/(aggregation)/ratio/groupBy/boundary is the only endpoint which does not return a timestamp with explicit Z timezone. The documentation has also always included the timezone in the examples. I agree that we should consistently always return the same format, but to limit the scope of the fix, let's stick to the format including the Z.
Bug Description
The endpoint
elements/count/groupBy/boundary
returns timestamps with timezonehttps://api.ohsome.org/v1/elements/count/groupBy/boundary?bboxes=8.67%2C49.39%2C8.71%2C49.42&filter=geometry%3Apoint%20and%20natural%3Dtree&time=2014-01-01
Response
while the endpoint
elements/count/ratio/groupBy/boundary
returns timestamps without timezonehttps://api.ohsome.org/v1/elements/count/ratio/groupBy/boundary?bboxes=8.67%2C49.39%2C8.71%2C49.42&filter=geometry%3Apoint%20and%20natural%3Dtree&filter2=geometry%3Apoint%20and%20shop%3Dbakery&format=json&time=2014-01-01
Response
General Information
1.10.1
https://api.ohsome.org/v1
elements/count/ratio/groupBy/boundary
Expected Behaviour
Either always return a time zone, or never (which I would prefer).
Further Information
Error Messages, Logs, Screenshots
None
Additional Information
None
Notes
None
//cc @rp280
The text was updated successfully, but these errors were encountered: