{"action":"opened","issue":{"url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/340","repository_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar","labels_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/340/comments","events_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/340/events","html_url":"https://github.com/mattlewis92/angular-bootstrap-calendar/issues/340","id":157171630,"number":340,"title":"Bug: day-view-start time only works with exact hours ","user":{"login":"Fatih75","id":10922502,"avatar_url":"https://avatars.githubusercontent.com/u/10922502?v=3","gravatar_id":"","url":"https://api.github.com/users/Fatih75","html_url":"https://github.com/Fatih75","followers_url":"https://api.github.com/users/Fatih75/followers","following_url":"https://api.github.com/users/Fatih75/following{/other_user}","gists_url":"https://api.github.com/users/Fatih75/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatih75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatih75/subscriptions","organizations_url":"https://api.github.com/users/Fatih75/orgs","repos_url":"https://api.github.com/users/Fatih75/repos","events_url":"https://api.github.com/users/Fatih75/events{/privacy}","received_events_url":"https://api.github.com/users/Fatih75/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-27T09:59:21Z","updated_at":"2016-05-27T09:59:21Z","closed_at":null,"body":"Hi matt,\r\n\r\nFirst of all, compliments on this very beautiful calendar!\r\n\r\n### Bug description:\r\nThere is a bug with the day-view-start and day-view-end time not rendering the day view correctly if there are minutes involved in the time. When the start and end time of the calendar is set to exact hours, like \"09:00\", everything works fine.\r\n\r\nIf the start time is set to \"09:30\", the day view still starts at \"09:00\".\r\n```\r\n<mwl-calendar\r\n  events=\"vm.events\"\r\n  view=\"vm.calendarView\"\r\n  view-date=\"vm.viewDate\"\r\n  day-view-start=\"09:30\"\r\n  day-view-end=\"11:30\">\r\n</mwl-calendar>\r\n```\r\n\r\nThe day view grid still starts at 09:00 and ends at 12:00:\r\n![selection_089](https://cloud.githubusercontent.com/assets/10922502/15603731/ba5dd276-23fc-11e6-8932-f6610fa62599.png)\r\n\r\n\r\n### on-timespan-click\r\nBecause of the grid, the on-timespan-click isn't working properly. When a time is clicked on the dayview, it is not returning the correct datetime. The time is shifted 30 minutes on each block.\r\n\r\n**For example:**\r\nThe start-date-time is set to \"09:30\", afterwards the \"09:00\" block is clicked. The on-timespan-click returns a date object with the time value \"09:30\".\r\n![selection_093](https://cloud.githubusercontent.com/assets/10922502/15604110/b10f833e-23fe-11e6-9fc7-d69f3174db02.png)\r\n\r\nIf the block \"09:30\" is clicked, the time 10:00 is returned\r\n![selection_095](https://cloud.githubusercontent.com/assets/10922502/15604131/d08d408e-23fe-11e6-876c-33771139b338.png)\r\n\r\n\r\n### Plunker\r\nThe plunker demonstrating the bug :\r\nhttp://plnkr.co/edit/vW0HpdMa489mJhN3vUdc?p=preview\r\n\r\nThis bug might be related to issue #337 as well.\r\n\r\nKind regards,\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"Fatih75"}}