When using a `date histogram` aggregation, dates are not formatted properly. 