{"action":"created","issue":{"url":"https://api.github.com/repos/kennethreitz/maya/issues/150","repository_url":"https://api.github.com/repos/kennethreitz/maya","labels_url":"https://api.github.com/repos/kennethreitz/maya/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/kennethreitz/maya/issues/150/comments","events_url":"https://api.github.com/repos/kennethreitz/maya/issues/150/events","html_url":"https://github.com/kennethreitz/maya/pull/150","id":318555345,"number":150,"title":"Fix RFC3339 representation","user":{"login":"marcelstoer","id":624195,"avatar_url":"https://avatars0.githubusercontent.com/u/624195?v=4","gravatar_id":"","url":"https://api.github.com/users/marcelstoer","html_url":"https://github.com/marcelstoer","followers_url":"https://api.github.com/users/marcelstoer/followers","following_url":"https://api.github.com/users/marcelstoer/following{/other_user}","gists_url":"https://api.github.com/users/marcelstoer/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelstoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelstoer/subscriptions","organizations_url":"https://api.github.com/users/marcelstoer/orgs","repos_url":"https://api.github.com/users/marcelstoer/repos","events_url":"https://api.github.com/users/marcelstoer/events{/privacy}","received_events_url":"https://api.github.com/users/marcelstoer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"marcelstoer","id":624195,"avatar_url":"https://avatars0.githubusercontent.com/u/624195?v=4","gravatar_id":"","url":"https://api.github.com/users/marcelstoer","html_url":"https://github.com/marcelstoer","followers_url":"https://api.github.com/users/marcelstoer/followers","following_url":"https://api.github.com/users/marcelstoer/following{/other_user}","gists_url":"https://api.github.com/users/marcelstoer/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelstoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelstoer/subscriptions","organizations_url":"https://api.github.com/users/marcelstoer/orgs","repos_url":"https://api.github.com/users/marcelstoer/repos","events_url":"https://api.github.com/users/marcelstoer/events{/privacy}","received_events_url":"https://api.github.com/users/marcelstoer/received_events","type":"User","site_admin":false},"assignees":[{"login":"marcelstoer","id":624195,"avatar_url":"https://avatars0.githubusercontent.com/u/624195?v=4","gravatar_id":"","url":"https://api.github.com/users/marcelstoer","html_url":"https://github.com/marcelstoer","followers_url":"https://api.github.com/users/marcelstoer/followers","following_url":"https://api.github.com/users/marcelstoer/following{/other_user}","gists_url":"https://api.github.com/users/marcelstoer/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelstoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelstoer/subscriptions","organizations_url":"https://api.github.com/users/marcelstoer/orgs","repos_url":"https://api.github.com/users/marcelstoer/repos","events_url":"https://api.github.com/users/marcelstoer/events{/privacy}","received_events_url":"https://api.github.com/users/marcelstoer/received_events","type":"User","site_admin":false},{"login":"timofurrer","id":1008252,"avatar_url":"https://avatars0.githubusercontent.com/u/1008252?v=4","gravatar_id":"","url":"https://api.github.com/users/timofurrer","html_url":"https://github.com/timofurrer","followers_url":"https://api.github.com/users/timofurrer/followers","following_url":"https://api.github.com/users/timofurrer/following{/other_user}","gists_url":"https://api.github.com/users/timofurrer/gists{/gist_id}","starred_url":"https://api.github.com/users/timofurrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timofurrer/subscriptions","organizations_url":"https://api.github.com/users/timofurrer/orgs","repos_url":"https://api.github.com/users/timofurrer/repos","events_url":"https://api.github.com/users/timofurrer/events{/privacy}","received_events_url":"https://api.github.com/users/timofurrer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-04-27T21:28:28Z","updated_at":"2018-05-15T08:35:36Z","closed_at":"2018-05-15T07:08:53Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/kennethreitz/maya/pulls/150","html_url":"https://github.com/kennethreitz/maya/pull/150","diff_url":"https://github.com/kennethreitz/maya/pull/150.diff","patch_url":"https://github.com/kennethreitz/maya/pull/150.patch"},"body":"https://now.httpbin.org/ returns an invalid RFC3339 representation. It currently shows 2-digit milliseconds. I hope I tracked it correctly back to Maya `core.py`.\r\n\r\nRFC3339 5.6 allows at most 1 digit for milliseconds: https://tools.ietf.org/html/rfc3339#section-5.6.\r\n\r\n```\r\ntime-secfrac    = \".\" 1*DIGIT\r\npartial-time    = time-hour \":\" time-minute \":\" time-second [time-secfrac]\r\n```\r\n\r\nI'm not 100% happy with the fix as `.%f` apparently isn't guaranteed to always return 6 digits (platform dependent). https://stackoverflow.com/a/35643540/131929 shows a more stable version based on splitting and reformatting the original string."},"comment":{"url":"https://api.github.com/repos/kennethreitz/maya/issues/comments/389088480","html_url":"https://github.com/kennethreitz/maya/pull/150#issuecomment-389088480","issue_url":"https://api.github.com/repos/kennethreitz/maya/issues/150","id":389088480,"user":{"login":"timofurrer","id":1008252,"avatar_url":"https://avatars0.githubusercontent.com/u/1008252?v=4","gravatar_id":"","url":"https://api.github.com/users/timofurrer","html_url":"https://github.com/timofurrer","followers_url":"https://api.github.com/users/timofurrer/followers","following_url":"https://api.github.com/users/timofurrer/following{/other_user}","gists_url":"https://api.github.com/users/timofurrer/gists{/gist_id}","starred_url":"https://api.github.com/users/timofurrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timofurrer/subscriptions","organizations_url":"https://api.github.com/users/timofurrer/orgs","repos_url":"https://api.github.com/users/timofurrer/repos","events_url":"https://api.github.com/users/timofurrer/events{/privacy}","received_events_url":"https://api.github.com/users/timofurrer/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T08:35:36Z","updated_at":"2018-05-15T08:35:36Z","author_association":"COLLABORATOR","body":"That \"someone\" would be Kenneth. I see what I can do."}}
{"actor":{"display_login":"timofurrer"}}