{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9637","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9637/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9637/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9637/events","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9637","id":57218100,"number":9637,"title":"Aggregations: Clean up `date_histogram`","user":{"login":"cbuescher","id":10398885,"avatar_url":"https://avatars.githubusercontent.com/u/10398885?v=3","gravatar_id":"","url":"https://api.github.com/users/cbuescher","html_url":"https://github.com/cbuescher","followers_url":"https://api.github.com/users/cbuescher/followers","following_url":"https://api.github.com/users/cbuescher/following{/other_user}","gists_url":"https://api.github.com/users/cbuescher/gists{/gist_id}","starred_url":"https://api.github.com/users/cbuescher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbuescher/subscriptions","organizations_url":"https://api.github.com/users/cbuescher/orgs","repos_url":"https://api.github.com/users/cbuescher/repos","events_url":"https://api.github.com/users/cbuescher/events{/privacy}","received_events_url":"https://api.github.com/users/cbuescher/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/breaking","name":"breaking","color":"ff0000"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/enhancement","name":"enhancement","color":"4a4ea8"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"state":"open","locked":false,"assignee":{"login":"jpountz","id":299848,"avatar_url":"https://avatars.githubusercontent.com/u/299848?v=3","gravatar_id":"","url":"https://api.github.com/users/jpountz","html_url":"https://github.com/jpountz","followers_url":"https://api.github.com/users/jpountz/followers","following_url":"https://api.github.com/users/jpountz/following{/other_user}","gists_url":"https://api.github.com/users/jpountz/gists{/gist_id}","starred_url":"https://api.github.com/users/jpountz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpountz/subscriptions","organizations_url":"https://api.github.com/users/jpountz/orgs","repos_url":"https://api.github.com/users/jpountz/repos","events_url":"https://api.github.com/users/jpountz/events{/privacy}","received_events_url":"https://api.github.com/users/jpountz/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-02-10T18:51:19Z","updated_at":"2015-02-13T15:58:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/pulls/9637","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9637","diff_url":"https://github.com/elasticsearch/elasticsearch/pull/9637.diff","patch_url":"https://github.com/elasticsearch/elasticsearch/pull/9637.patch"},"body":"Remove the current time zone options `pre_zone` and `post_zone` in favor of a simplified `time_zone` option.\r\nThe former were hard to understand and made it possible to return dates that are not in UTC. The `time_zone` parameter can be used to compute the buckets in the specified time zone and the buckets are returned in UTC.\r\nAlso the `pre_zone_adjust_large_interval` parameter is removed because now buckets are always returned in UTC.\r\n\r\nCloses #9062"},"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/comments/74276014","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9637#issuecomment-74276014","issue_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9637","id":74276014,"user":{"login":"jpountz","id":299848,"avatar_url":"https://avatars.githubusercontent.com/u/299848?v=3","gravatar_id":"","url":"https://api.github.com/users/jpountz","html_url":"https://github.com/jpountz","followers_url":"https://api.github.com/users/jpountz/followers","following_url":"https://api.github.com/users/jpountz/following{/other_user}","gists_url":"https://api.github.com/users/jpountz/gists{/gist_id}","starred_url":"https://api.github.com/users/jpountz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpountz/subscriptions","organizations_url":"https://api.github.com/users/jpountz/orgs","repos_url":"https://api.github.com/users/jpountz/repos","events_url":"https://api.github.com/users/jpountz/events{/privacy}","received_events_url":"https://api.github.com/users/jpountz/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T15:58:15Z","updated_at":"2015-02-13T15:58:15Z","body":"> I've removed four of the six TimeZoneRoundings, this will probably result in some test cases not be needed anymore. Will go through the unit and integration tests to see what is redundant there if you're generally okay with this simplification. \r\n\r\nAbsolutely, this is great!"}}