{"action":"created","issue":{"url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/224","labels_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/224/comments","events_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/224/events","html_url":"https://github.com/mattlewis92/angular-bootstrap-calendar/issues/224","id":118429016,"number":224,"title":"onDayClick event","user":{"login":"ecabrera1","id":4959143,"avatar_url":"https://avatars.githubusercontent.com/u/4959143?v=3","gravatar_id":"","url":"https://api.github.com/users/ecabrera1","html_url":"https://github.com/ecabrera1","followers_url":"https://api.github.com/users/ecabrera1/followers","following_url":"https://api.github.com/users/ecabrera1/following{/other_user}","gists_url":"https://api.github.com/users/ecabrera1/gists{/gist_id}","starred_url":"https://api.github.com/users/ecabrera1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecabrera1/subscriptions","organizations_url":"https://api.github.com/users/ecabrera1/orgs","repos_url":"https://api.github.com/users/ecabrera1/repos","events_url":"https://api.github.com/users/ecabrera1/events{/privacy}","received_events_url":"https://api.github.com/users/ecabrera1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-23T17:21:44Z","updated_at":"2015-11-23T17:32:04Z","closed_at":"2015-11-23T17:32:04Z","body":" I need to pull a list of all the events that show up for day clicked. I'm just not seeing exactly how it's done. Thank you my script is on-timespan-click=\"dayClicked(calendarDate, calendarEvent)\" and nothing is being returned for the day clicked. So I need to click on a day show the date clicked and a list of all events that show up on that day. Thanks"},"comment":{"url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/comments/159004780","html_url":"https://github.com/mattlewis92/angular-bootstrap-calendar/issues/224#issuecomment-159004780","issue_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/224","id":159004780,"user":{"login":"mattlewis92","id":6425649,"avatar_url":"https://avatars.githubusercontent.com/u/6425649?v=3","gravatar_id":"","url":"https://api.github.com/users/mattlewis92","html_url":"https://github.com/mattlewis92","followers_url":"https://api.github.com/users/mattlewis92/followers","following_url":"https://api.github.com/users/mattlewis92/following{/other_user}","gists_url":"https://api.github.com/users/mattlewis92/gists{/gist_id}","starred_url":"https://api.github.com/users/mattlewis92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattlewis92/subscriptions","organizations_url":"https://api.github.com/users/mattlewis92/orgs","repos_url":"https://api.github.com/users/mattlewis92/repos","events_url":"https://api.github.com/users/mattlewis92/events{/privacy}","received_events_url":"https://api.github.com/users/mattlewis92/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T17:32:04Z","updated_at":"2015-11-23T17:32:04Z","body":"There is no API to do this, it's easy enough to implement yourself though:\r\n```\r\n$scope.dayClicked = function(calendarDate) {\r\n  var eventsOnDay = $scope.events.filter(event => moment(event.startsAt).startOf('day').isSame(moment(calendarDate)));\r\n};\r\n```"}}