{"action":"created","issue":{"url":"https://api.github.com/repos/pihel/cash/issues/52","labels_url":"https://api.github.com/repos/pihel/cash/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/pihel/cash/issues/52/comments","events_url":"https://api.github.com/repos/pihel/cash/issues/52/events","html_url":"https://github.com/pihel/cash/pull/52","id":128123726,"number":52,"title":"49 time periods selector","user":{"login":"michaelkl","id":1443825,"avatar_url":"https://avatars.githubusercontent.com/u/1443825?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelkl","html_url":"https://github.com/michaelkl","followers_url":"https://api.github.com/users/michaelkl/followers","following_url":"https://api.github.com/users/michaelkl/following{/other_user}","gists_url":"https://api.github.com/users/michaelkl/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelkl/subscriptions","organizations_url":"https://api.github.com/users/michaelkl/orgs","repos_url":"https://api.github.com/users/michaelkl/repos","events_url":"https://api.github.com/users/michaelkl/events{/privacy}","received_events_url":"https://api.github.com/users/michaelkl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-22T10:11:43Z","updated_at":"2016-01-23T09:47:05Z","closed_at":"2016-01-23T09:10:30Z","pull_request":{"url":"https://api.github.com/repos/pihel/cash/pulls/52","html_url":"https://github.com/pihel/cash/pull/52","diff_url":"https://github.com/pihel/cash/pull/52.diff","patch_url":"https://github.com/pihel/cash/pull/52.patch"},"body":"Переход по периодам кнопками со стрелочками. Корректная обработка периода \"месяц\""},"comment":{"url":"https://api.github.com/repos/pihel/cash/issues/comments/174166253","html_url":"https://github.com/pihel/cash/pull/52#issuecomment-174166253","issue_url":"https://api.github.com/repos/pihel/cash/issues/52","id":174166253,"user":{"login":"michaelkl","id":1443825,"avatar_url":"https://avatars.githubusercontent.com/u/1443825?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelkl","html_url":"https://github.com/michaelkl","followers_url":"https://api.github.com/users/michaelkl/followers","following_url":"https://api.github.com/users/michaelkl/following{/other_user}","gists_url":"https://api.github.com/users/michaelkl/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelkl/subscriptions","organizations_url":"https://api.github.com/users/michaelkl/orgs","repos_url":"https://api.github.com/users/michaelkl/repos","events_url":"https://api.github.com/users/michaelkl/events{/privacy}","received_events_url":"https://api.github.com/users/michaelkl/received_events","type":"User","site_admin":false},"created_at":"2016-01-23T09:47:05Z","updated_at":"2016-01-23T09:47:05Z","body":"Хорошо.\r\nА почему поменяли на `var ddiff = d2 - d1 + 1;`?\r\n\r\nПо поводу закрытия задачи пока предлагаю не спешить. Я хочу еще доработать, чтобы переход вперёд/назад понимал не только один полный месяц, но и N полных месяцев. Таким макаром мы покроем варианты \"квартал\" и \"год\", и бонусом экзотику типа \"два месяца\", \"шесть месяцев\" и пр. :-)"}}