{"action":"created","issue":{"url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/issues/408","repository_url":"https://api.github.com/repos/patchthecode/JTAppleCalendar","labels_url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/issues/408/comments","events_url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/issues/408/events","html_url":"https://github.com/patchthecode/JTAppleCalendar/issues/408","id":226672907,"number":408,"title":"Start and end date on mid month","user":{"login":"tbalancin","id":513637,"avatar_url":"https://avatars0.githubusercontent.com/u/513637?v=3","gravatar_id":"","url":"https://api.github.com/users/tbalancin","html_url":"https://github.com/tbalancin","followers_url":"https://api.github.com/users/tbalancin/followers","following_url":"https://api.github.com/users/tbalancin/following{/other_user}","gists_url":"https://api.github.com/users/tbalancin/gists{/gist_id}","starred_url":"https://api.github.com/users/tbalancin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbalancin/subscriptions","organizations_url":"https://api.github.com/users/tbalancin/orgs","repos_url":"https://api.github.com/users/tbalancin/repos","events_url":"https://api.github.com/users/tbalancin/events{/privacy}","received_events_url":"https://api.github.com/users/tbalancin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-05T19:43:20Z","updated_at":"2017-05-06T05:03:20Z","closed_at":null,"body":"Hello Guys,\r\n\r\nI'm using the version 7.0.2 of the framework, my issue is similarly to [#365](https://github.com/patchthecode/JTAppleCalendar/issues/365) I need to do my calendar with the dates in the mid-month like: starting date: 2017, 10, 20 - ending date: 2017, 11, 25. \r\n\r\nI follow the instructions provided in the issue but I still without success, could please someone help me?\r\n\r\nMy code: \r\n\r\n```swift\r\nextension ViewController: JTAppleCalendarViewDelegate, JTAppleCalendarViewDataSource {\r\n    \r\n    func configureCalendar(_ calendar: JTAppleCalendarView) -> ConfigurationParameters {\r\n        \r\n        formatter.dateFormat = \"yyyy MM dd\"\r\n        formatter.timeZone = Calendar.current.timeZone\r\n        formatter.locale = Calendar.current.locale\r\n        \r\n        \r\n        let startDate = formatter.date(from: \"2017 01 01\")!\r\n        let endDate = formatter.date(from: \"2017 12 31\")!\r\n        \r\n        let parameters = ConfigurationParameters(startDate: startDate, endDate: endDate)\r\n        return parameters\r\n    }\r\n    \r\n    func scrollDidEndDecelerating(for calendar: JTAppleCalendarView) {\r\n        let visibleDates = calendar.visibleDates()\r\n        let dateWeShouldNotCross = formatter.date(from: \"2017 08 07\")!\r\n        let dateToScrollBackTo = formatter.date(from: \"2017 07 03\")!\r\n        if visibleDates.monthDates.contains (where: {$0.date >= dateWeShouldNotCross}) {\r\n            calendar.scrollToDate(dateToScrollBackTo)\r\n            return\r\n        }\r\n    }\r\n    \r\n    func calendar(_ calendar: JTAppleCalendarView, cellForItemAt date: Date, cellState: CellState, indexPath: IndexPath) -> JTAppleCell {\r\n        \r\n        let cell = calendar.dequeueReusableJTAppleCell(withReuseIdentifier: \"CustomCell\", for: indexPath) as! CustomCell\r\n        cell.dateLabel.text = cellState.text\r\n        return cell\r\n    }\r\n}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/issues/comments/299616113","html_url":"https://github.com/patchthecode/JTAppleCalendar/issues/408#issuecomment-299616113","issue_url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/issues/408","id":299616113,"user":{"login":"patchthecode","id":2439146,"avatar_url":"https://avatars3.githubusercontent.com/u/2439146?v=3","gravatar_id":"","url":"https://api.github.com/users/patchthecode","html_url":"https://github.com/patchthecode","followers_url":"https://api.github.com/users/patchthecode/followers","following_url":"https://api.github.com/users/patchthecode/following{/other_user}","gists_url":"https://api.github.com/users/patchthecode/gists{/gist_id}","starred_url":"https://api.github.com/users/patchthecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patchthecode/subscriptions","organizations_url":"https://api.github.com/users/patchthecode/orgs","repos_url":"https://api.github.com/users/patchthecode/repos","events_url":"https://api.github.com/users/patchthecode/events{/privacy}","received_events_url":"https://api.github.com/users/patchthecode/received_events","type":"User","site_admin":false},"created_at":"2017-05-06T05:03:20Z","updated_at":"2017-05-06T05:03:20Z","body":"What is the problem with the date boundaries you are experiencing?"}}
{"actor":{"display_login":"patchthecode"}}