{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/9500","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/9500/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/9500/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/9500/events","html_url":"https://github.com/elastic/kibana/issues/9500","id":195764085,"number":9500,"title":"Timelion - first day of week is not handled correctly","user":{"login":"gfigoni","id":1143639,"avatar_url":"https://avatars.githubusercontent.com/u/1143639?v=3","gravatar_id":"","url":"https://api.github.com/users/gfigoni","html_url":"https://github.com/gfigoni","followers_url":"https://api.github.com/users/gfigoni/followers","following_url":"https://api.github.com/users/gfigoni/following{/other_user}","gists_url":"https://api.github.com/users/gfigoni/gists{/gist_id}","starred_url":"https://api.github.com/users/gfigoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfigoni/subscriptions","organizations_url":"https://api.github.com/users/gfigoni/orgs","repos_url":"https://api.github.com/users/gfigoni/repos","events_url":"https://api.github.com/users/gfigoni/events{/privacy}","received_events_url":"https://api.github.com/users/gfigoni/received_events","type":"User","site_admin":false},"labels":[{"id":456827161,"url":"https://api.github.com/repos/elastic/kibana/labels/:Timelion","name":":Timelion","color":"fbca04","default":false},{"id":462161355,"url":"https://api.github.com/repos/elastic/kibana/labels/:Visualizations","name":":Visualizations","color":"fef2c0","default":false},{"id":26198234,"url":"https://api.github.com/repos/elastic/kibana/labels/bug","name":"bug","color":"ff0000","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-15T10:05:43Z","updated_at":"2016-12-15T13:20:11Z","closed_at":null,"body":"<!--\r\nGitHub is reserved for bug reports and feature requests. The best place\r\nto ask a general question is at the Elastic Discourse forums at\r\nhttps://discuss.elastic.co. If you are in fact posting a bug report or\r\na feature request, please include one and only one of the below blocks\r\nin your new issue.\r\n-->\r\n\r\n<!--\r\nIf you are filing a bug report, please remove the below feature\r\nrequest block and provide responses for all of the below items.\r\n-->\r\n\r\n**Kibana version**: 5.1.1\r\n\r\n**Elasticsearch version**: 5.1.1\r\n\r\n**Server OS version**: Microsoft Windows 7 Enterprise 64 bits\r\n\r\n**Browser version**: Google Chrome 55.0.2883.87 m, Firefox 47.0.2, Internet Explorer 11\r\n\r\n**Browser OS version**: Microsoft Windows 7 Enterprise\r\n\r\n**Original install method (e.g. download page, yum, from source, etc.)**: download page\r\n\r\n**Description of the problem including expected versus actual behavior**:\r\nI configured Kibana to have Monday considered as the first day of the week.\r\n![2016-12-15 10_07_06-kibana](https://cloud.githubusercontent.com/assets/1143639/21218809/591545da-c2b2-11e6-8a89-157c0f694e68.png)\r\n\r\nWhen displaying a standard kibana chart (such as bar chart) with an aggregation of type \"Date Histogram\" on X-Axis, if the time range is based on the week (current week, previous week, etc.), the first day is correctly set to monday.\r\nOn the contrary, a timeseries chart (timelion) on the same timerange will be displayed from the sunday.\r\n\r\nExample below with a week from monday december 5th to sunday 11th : the bar chart starts on the 5th whereas the timeseries starts on the 4th (sunday) if the time range is set to \"previous week\" :\r\n\r\n![2016-12-15 10_05_50-log_dashboard_events count - kibana](https://cloud.githubusercontent.com/assets/1143639/21219252/4e5fcf32-c2b4-11e6-8178-a037f397bcf2.png)\r\n\r\nIf you set the time range explicitely from the 5th to the 11th, both charts display the same time range correctly :\r\n\r\n![2016-12-15 10_06_32-log_dashboard_events count - kibana](https://cloud.githubusercontent.com/assets/1143639/21219633/d4326b8c-c2b5-11e6-98d1-1547e1108517.png)"},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/267325508","html_url":"https://github.com/elastic/kibana/issues/9500#issuecomment-267325508","issue_url":"https://api.github.com/repos/elastic/kibana/issues/9500","id":267325508,"user":{"login":"tbragin","id":933397,"avatar_url":"https://avatars.githubusercontent.com/u/933397?v=3","gravatar_id":"","url":"https://api.github.com/users/tbragin","html_url":"https://github.com/tbragin","followers_url":"https://api.github.com/users/tbragin/followers","following_url":"https://api.github.com/users/tbragin/following{/other_user}","gists_url":"https://api.github.com/users/tbragin/gists{/gist_id}","starred_url":"https://api.github.com/users/tbragin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbragin/subscriptions","organizations_url":"https://api.github.com/users/tbragin/orgs","repos_url":"https://api.github.com/users/tbragin/repos","events_url":"https://api.github.com/users/tbragin/events{/privacy}","received_events_url":"https://api.github.com/users/tbragin/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T13:20:11Z","updated_at":"2016-12-15T13:20:11Z","body":"Timelion was not built to respect that option, but we should fix that. "}}
{"actor":{"display_login":"tbragin"}}