{"action":"created","issue":{"url":"https://api.github.com/repos/guyellis/plant/issues/515","repository_url":"https://api.github.com/repos/guyellis/plant","labels_url":"https://api.github.com/repos/guyellis/plant/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/guyellis/plant/issues/515/comments","events_url":"https://api.github.com/repos/guyellis/plant/issues/515/events","html_url":"https://github.com/guyellis/plant/issues/515","id":179119084,"number":515,"title":"Note date for current day","user":{"login":"guyellis","id":2047725,"avatar_url":"https://avatars.githubusercontent.com/u/2047725?v=3","gravatar_id":"","url":"https://api.github.com/users/guyellis","html_url":"https://github.com/guyellis","followers_url":"https://api.github.com/users/guyellis/followers","following_url":"https://api.github.com/users/guyellis/following{/other_user}","gists_url":"https://api.github.com/users/guyellis/gists{/gist_id}","starred_url":"https://api.github.com/users/guyellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyellis/subscriptions","organizations_url":"https://api.github.com/users/guyellis/orgs","repos_url":"https://api.github.com/users/guyellis/repos","events_url":"https://api.github.com/users/guyellis/events{/privacy}","received_events_url":"https://api.github.com/users/guyellis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/guyellis/plant/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/guyellis/plant/milestones/1","html_url":"https://github.com/guyellis/plant/milestones/MVP","labels_url":"https://api.github.com/repos/guyellis/plant/milestones/1/labels","id":2011205,"number":1,"title":"MVP","description":"","creator":{"login":"guyellis","id":2047725,"avatar_url":"https://avatars.githubusercontent.com/u/2047725?v=3","gravatar_id":"","url":"https://api.github.com/users/guyellis","html_url":"https://github.com/guyellis","followers_url":"https://api.github.com/users/guyellis/followers","following_url":"https://api.github.com/users/guyellis/following{/other_user}","gists_url":"https://api.github.com/users/guyellis/gists{/gist_id}","starred_url":"https://api.github.com/users/guyellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyellis/subscriptions","organizations_url":"https://api.github.com/users/guyellis/orgs","repos_url":"https://api.github.com/users/guyellis/repos","events_url":"https://api.github.com/users/guyellis/events{/privacy}","received_events_url":"https://api.github.com/users/guyellis/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":22,"state":"open","created_at":"2016-09-17T17:43:27Z","updated_at":"2016-09-26T04:13:27Z","due_on":"2016-10-31T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-09-26T00:36:30Z","updated_at":"2016-09-26T21:17:26Z","closed_at":null,"body":"Is now showing the hours ago. Shouldn't show hours if same day."},"comment":{"url":"https://api.github.com/repos/guyellis/plant/issues/comments/249700267","html_url":"https://github.com/guyellis/plant/issues/515#issuecomment-249700267","issue_url":"https://api.github.com/repos/guyellis/plant/issues/515","id":249700267,"user":{"login":"guyellis","id":2047725,"avatar_url":"https://avatars.githubusercontent.com/u/2047725?v=3","gravatar_id":"","url":"https://api.github.com/users/guyellis","html_url":"https://github.com/guyellis","followers_url":"https://api.github.com/users/guyellis/followers","following_url":"https://api.github.com/users/guyellis/following{/other_user}","gists_url":"https://api.github.com/users/guyellis/gists{/gist_id}","starred_url":"https://api.github.com/users/guyellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyellis/subscriptions","organizations_url":"https://api.github.com/users/guyellis/orgs","repos_url":"https://api.github.com/users/guyellis/repos","events_url":"https://api.github.com/users/guyellis/events{/privacy}","received_events_url":"https://api.github.com/users/guyellis/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T21:17:25Z","updated_at":"2016-09-26T21:17:25Z","body":"This is happening because the date is being stored in MongoDB as an ISODate and because it doesn't have timezone or time information it's being set as a date at midnight in UTC.\r\n\r\nSolution I think is to strip out the time and timezone information for relative fields after retrieving from DB."}}
{"actor":{"display_login":"guyellis"}}