Documentation: entry "/Developer Guilde/Search/Aggreations/dateRange" is confusing

  1. The format property is said to have default “YYYY-MM-DDThh:mm:ssTZD”. This can be confusing, as it may seem correct to shorten this to for example “YYYY-MM-DD”. If you use “YYYY-MM-DD” as format for a dateRange, the result will not use the month set in the range property. But, if you use “yyyy-MM-dd” you will get the correct values. Maybe it would be helpful to say that the default is “yyyy-MM-ddThh:mm:ssTZD”?

  2. The example result is incorrect. The result should not be the same as the one in entry “/Developer Guilde/Search/Aggreations/range”.

1 Like

Thank you for reporting this. The error is fixed, docs will be updated with the nightly build. Default format is actually yyyy-MM-dd'T'HH:mm:ss.SSSZ

3 Likes