elasticsearch/elasticsearch — Issue #1599: Date Histogram Facet: Add `pre_offset` and `post_offset` options
Author: kimchy
Created: 2012-01-09 19:28:24+00:00
State: open
Labels: enhancement, v0.19.0

Allow to define a `pre_offset` and `post_offset` for offsets applying pre rounding and post rounding. For example, to offset a `week` rounding to start on Sunday instead of Monday, one can pass `post_offset` of `-1d`. The values are time values with a possible `-` sign.