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
Description of the problem including expected versus actual behavior:
We had the following code which is somewhat straightforward to convert but the FieldDateMath type seem to have a huge gap when it comes to working with DateTimes. It's not intuitive what I should pass to new FieldDateMath().
varbounds=newExtendedBounds<DateMath>{Minimum=start,Maximum=end};// start and end are DateTime's
...new DateHistogramAggregation {ExtendedBounds=bounds};
Expected behavior
Should be able to quickly do a bounds using dates.