{"action":"created","issue":{"url":"https://api.github.com/repos/excid3/simple_calendar/issues/58","labels_url":"https://api.github.com/repos/excid3/simple_calendar/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/excid3/simple_calendar/issues/58/comments","events_url":"https://api.github.com/repos/excid3/simple_calendar/issues/58/events","html_url":"https://github.com/excid3/simple_calendar/pull/58","id":38185407,"number":58,"title":"Show events spanning more than one day","user":{"login":"TuxmAL","id":243158,"avatar_url":"https://avatars.githubusercontent.com/u/243158?v=3","gravatar_id":"","url":"https://api.github.com/users/TuxmAL","html_url":"https://github.com/TuxmAL","followers_url":"https://api.github.com/users/TuxmAL/followers","following_url":"https://api.github.com/users/TuxmAL/following{/other_user}","gists_url":"https://api.github.com/users/TuxmAL/gists{/gist_id}","starred_url":"https://api.github.com/users/TuxmAL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TuxmAL/subscriptions","organizations_url":"https://api.github.com/users/TuxmAL/orgs","repos_url":"https://api.github.com/users/TuxmAL/repos","events_url":"https://api.github.com/users/TuxmAL/events{/privacy}","received_events_url":"https://api.github.com/users/TuxmAL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-07-18T15:19:06Z","updated_at":"2015-07-10T15:50:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/excid3/simple_calendar/pulls/58","html_url":"https://github.com/excid3/simple_calendar/pull/58","diff_url":"https://github.com/excid3/simple_calendar/pull/58.diff","patch_url":"https://github.com/excid3/simple_calendar/pull/58.patch"},"body":"I work with events read from a vCal file and I needed to show events spanning more than one day in a different look. So I modified _Event_ object to support  **:simple_calendar_range_date** method and to expose **event_start_date**  and **event_end_date** property.\r\nIf **:simple_calendar_range_date** method is found then I check if event spans over a date range (**event_start_date**..**event_end_date**) and then I sort events selected by start date.\r\n(Warning: it may result that period with _same_ start date are **not** ordered by end date!)\r\nif **:simple_calendar_range_date** method is not found, then, as before, **:simple_calendar_start_time** method is checked (single date events), else events is passed as is."},"comment":{"url":"https://api.github.com/repos/excid3/simple_calendar/issues/comments/120442135","html_url":"https://github.com/excid3/simple_calendar/pull/58#issuecomment-120442135","issue_url":"https://api.github.com/repos/excid3/simple_calendar/issues/58","id":120442135,"user":{"login":"rodrigoargumedo","id":7613139,"avatar_url":"https://avatars.githubusercontent.com/u/7613139?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigoargumedo","html_url":"https://github.com/rodrigoargumedo","followers_url":"https://api.github.com/users/rodrigoargumedo/followers","following_url":"https://api.github.com/users/rodrigoargumedo/following{/other_user}","gists_url":"https://api.github.com/users/rodrigoargumedo/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigoargumedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigoargumedo/subscriptions","organizations_url":"https://api.github.com/users/rodrigoargumedo/orgs","repos_url":"https://api.github.com/users/rodrigoargumedo/repos","events_url":"https://api.github.com/users/rodrigoargumedo/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigoargumedo/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T15:50:29Z","updated_at":"2015-07-10T15:50:29Z","body":"Can you rebase those merge commits?"}}