{"action":"created","issue":{"url":"https://api.github.com/repos/stephy/CalendarPicker/issues/138","repository_url":"https://api.github.com/repos/stephy/CalendarPicker","labels_url":"https://api.github.com/repos/stephy/CalendarPicker/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/stephy/CalendarPicker/issues/138/comments","events_url":"https://api.github.com/repos/stephy/CalendarPicker/issues/138/events","html_url":"https://github.com/stephy/CalendarPicker/issues/138","id":395797851,"node_id":"MDU6SXNzdWUzOTU3OTc4NTE=","number":138,"title":"Problem with range styles","user":{"login":"endenwer","id":5045098,"node_id":"MDQ6VXNlcjUwNDUwOTg=","avatar_url":"https://avatars0.githubusercontent.com/u/5045098?v=4","gravatar_id":"","url":"https://api.github.com/users/endenwer","html_url":"https://github.com/endenwer","followers_url":"https://api.github.com/users/endenwer/followers","following_url":"https://api.github.com/users/endenwer/following{/other_user}","gists_url":"https://api.github.com/users/endenwer/gists{/gist_id}","starred_url":"https://api.github.com/users/endenwer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endenwer/subscriptions","organizations_url":"https://api.github.com/users/endenwer/orgs","repos_url":"https://api.github.com/users/endenwer/repos","events_url":"https://api.github.com/users/endenwer/events{/privacy}","received_events_url":"https://api.github.com/users/endenwer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-04T03:24:53Z","updated_at":"2019-01-04T15:51:30Z","closed_at":null,"author_association":"NONE","body":"When I select first date in the range it is styled wrong. But when I click twice on that date it is styled like circle. Is it a bug or feature? Can I change behavior like on gif from readme?\r\n<img width=\"358\" alt=\"screenshot 2019-01-04 at 11 17 10\" src=\"https://user-images.githubusercontent.com/5045098/50672345-76cb4700-1012-11e9-8e72-524c762ba795.png\">\r\n\r\nI use it with clojurescript but it is similar to example from readme.\r\n```clojure\r\n[calendar-picker {:allow-range-selection true\r\n                  :selected-day-color colors/turquoise\r\n                  :selected-day-text-color colors/white\r\n                  :start-from-monday true\r\n                  :min-date (js/Date.)\r\n                  :on-date-change #(.log js/console %)}]\r\n```"},"comment":{"url":"https://api.github.com/repos/stephy/CalendarPicker/issues/comments/451482503","html_url":"https://github.com/stephy/CalendarPicker/issues/138#issuecomment-451482503","issue_url":"https://api.github.com/repos/stephy/CalendarPicker/issues/138","id":451482503,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTQ4MjUwMw==","user":{"login":"peacechen","id":6295083,"node_id":"MDQ6VXNlcjYyOTUwODM=","avatar_url":"https://avatars3.githubusercontent.com/u/6295083?v=4","gravatar_id":"","url":"https://api.github.com/users/peacechen","html_url":"https://github.com/peacechen","followers_url":"https://api.github.com/users/peacechen/followers","following_url":"https://api.github.com/users/peacechen/following{/other_user}","gists_url":"https://api.github.com/users/peacechen/gists{/gist_id}","starred_url":"https://api.github.com/users/peacechen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peacechen/subscriptions","organizations_url":"https://api.github.com/users/peacechen/orgs","repos_url":"https://api.github.com/users/peacechen/repos","events_url":"https://api.github.com/users/peacechen/events{/privacy}","received_events_url":"https://api.github.com/users/peacechen/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T15:51:30Z","updated_at":"2019-01-04T15:51:30Z","author_association":"COLLABORATOR","body":"This is by design as it helps the user to know that they are selecting a range, that they've selected the start date, and that they should select an end date.  If it were a circle like the single date selection, it's not clear to the user that they need to select an end date.  We've done user testing to determine this.\r\n\r\nI agree that the sample bitmap is misleading.  It should be updated to reflect this behavior."}}
{"actor":{"display_login":"peacechen"}}