{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/12886","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12886/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12886/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12886/events","html_url":"https://github.com/elastic/elasticsearch/pull/12886","id":101050175,"number":12886,"title":"Make ValueParser.DateMath aware of timezone setting","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/elastic/elasticsearch/labels/:Aggregations","name":":Aggregations","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/enhancement","name":"enhancement","color":"4a4ea8"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.1.0","name":"v2.1.0","color":"dddddd"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-14T16:40:21Z","updated_at":"2015-08-19T16:43:01Z","closed_at":"2015-08-19T16:42:19Z","pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/12886","html_url":"https://github.com/elastic/elasticsearch/pull/12886","diff_url":"https://github.com/elastic/elasticsearch/pull/12886.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/12886.patch"},"body":"This PR adds a timezone field to ValueParser.DateMath that is\r\nset to UTC by default but can be set using the existing constructors.\r\nThis makes it possible for extended bounds setting in DateHistogram\r\nto also use date math expressions that e.g. round by day and apply\r\nthis rounding in the time zone specified in the date histogram\r\naggregation request.\r\n\r\nCloses #12278"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/132689939","html_url":"https://github.com/elastic/elasticsearch/pull/12886#issuecomment-132689939","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12886","id":132689939,"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},"created_at":"2015-08-19T16:43:01Z","updated_at":"2015-08-19T16:43:01Z","body":"@jpountz @clintongormley any opinion if this should be backported to 2.0?"}}