{"action":"created","issue":{"url":"https://api.github.com/repos/bitwalker/timex/issues/152","repository_url":"https://api.github.com/repos/bitwalker/timex","labels_url":"https://api.github.com/repos/bitwalker/timex/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/bitwalker/timex/issues/152/comments","events_url":"https://api.github.com/repos/bitwalker/timex/issues/152/events","html_url":"https://github.com/bitwalker/timex/issues/152","id":145736151,"number":152,"title":"diff in weeks seems to be off","user":{"login":"frpaulas","id":194559,"avatar_url":"https://avatars.githubusercontent.com/u/194559?v=3","gravatar_id":"","url":"https://api.github.com/users/frpaulas","html_url":"https://github.com/frpaulas","followers_url":"https://api.github.com/users/frpaulas/followers","following_url":"https://api.github.com/users/frpaulas/following{/other_user}","gists_url":"https://api.github.com/users/frpaulas/gists{/gist_id}","starred_url":"https://api.github.com/users/frpaulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frpaulas/subscriptions","organizations_url":"https://api.github.com/users/frpaulas/orgs","repos_url":"https://api.github.com/users/frpaulas/repos","events_url":"https://api.github.com/users/frpaulas/events{/privacy}","received_events_url":"https://api.github.com/users/frpaulas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-04-04T16:32:40Z","updated_at":"2016-07-13T01:17:05Z","closed_at":"2016-07-13T01:17:05Z","body":"### Steps to reproduce\r\n\r\n- d1 = Timex.date {2016, 3, 27}\r\n- d2 = Timex.date {2016, 4, 3}\r\n- Timex.diff d1, d2, :days # => 7\r\n- Timex.diff d1, d2, :weeks # => 0\r\n\r\n### Description of issue\r\n\r\n- if the diff in days is 7 I would expect the diff in weeks to be 1\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bitwalker/timex/issues/comments/232228461","html_url":"https://github.com/bitwalker/timex/issues/152#issuecomment-232228461","issue_url":"https://api.github.com/repos/bitwalker/timex/issues/152","id":232228461,"user":{"login":"bitwalker","id":955793,"avatar_url":"https://avatars.githubusercontent.com/u/955793?v=3","gravatar_id":"","url":"https://api.github.com/users/bitwalker","html_url":"https://github.com/bitwalker","followers_url":"https://api.github.com/users/bitwalker/followers","following_url":"https://api.github.com/users/bitwalker/following{/other_user}","gists_url":"https://api.github.com/users/bitwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwalker/subscriptions","organizations_url":"https://api.github.com/users/bitwalker/orgs","repos_url":"https://api.github.com/users/bitwalker/repos","events_url":"https://api.github.com/users/bitwalker/events{/privacy}","received_events_url":"https://api.github.com/users/bitwalker/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T01:17:05Z","updated_at":"2016-07-13T01:17:05Z","body":"Fixed in master"}}
{"actor":{"display_login":"bitwalker"}}