Incorrect month in Elasticsearch date_histogram

I don't have time yet to reproduce but could you provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.