{"action":"closed","number":4159,"pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/4159","id":92779082,"html_url":"https://github.com/swagger-api/swagger-codegen/pull/4159","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/4159.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/4159.patch","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4159","number":4159,"state":"closed","locked":false,"title":"fix[dart]: send ISO8601 dates","user":{"login":"ircecho","id":11405732,"avatar_url":"https://avatars.githubusercontent.com/u/11405732?v=3","gravatar_id":"","url":"https://api.github.com/users/ircecho","html_url":"https://github.com/ircecho","followers_url":"https://api.github.com/users/ircecho/followers","following_url":"https://api.github.com/users/ircecho/following{/other_user}","gists_url":"https://api.github.com/users/ircecho/gists{/gist_id}","starred_url":"https://api.github.com/users/ircecho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ircecho/subscriptions","organizations_url":"https://api.github.com/users/ircecho/orgs","repos_url":"https://api.github.com/users/ircecho/repos","events_url":"https://api.github.com/users/ircecho/events{/privacy}","received_events_url":"https://api.github.com/users/ircecho/received_events","type":"User","site_admin":false},"body":"Dates for parameters were sent by using DateTime#toString. This would give us a date of the format \"2016-11-08 14:33:37.270\". Now I changed it to use DateTime#toIso8601String to give us a value like \"2016-11-08T14:34:29.520\". There were functions to format the date correctly, but those were not used anymore, which is why I assume that ISO8601 should have been used in the first place.\r\n\r\nIn other news, I decided not to use the provided code which relied on the intl package to format a ISO 8601, but a function from the DateTime class in core, thereby eliminating the necessity for using the external \"intl\" library.","created_at":"2016-11-08T13:38:49Z","updated_at":"2016-11-09T16:24:05Z","closed_at":"2016-11-09T16:24:05Z","merged_at":"2016-11-09T16:24:05Z","merge_commit_sha":"5899554d9d6ed25bb996ab5d0872554f90696b9c","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/13","html_url":"https://github.com/swagger-api/swagger-codegen/milestones/v2.2.2","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/13/labels","id":1928763,"number":13,"title":"v2.2.2","description":"","creator":{"login":"wing328","id":934260,"avatar_url":"https://avatars.githubusercontent.com/u/934260?v=3","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"open_issues":283,"closed_issues":396,"state":"open","created_at":"2016-08-08T09:16:56Z","updated_at":"2016-11-09T16:24:05Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/4159/commits","review_comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/4159/comments","review_comment_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4159/comments","statuses_url":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/6d6cfb49843271c514fc98218269a139b23ed2df","head":{"label":"ircecho:origin/iso8061date","ref":"origin/iso8061date","sha":"6d6cfb49843271c514fc98218269a139b23ed2df","user":{"login":"ircecho","id":11405732,"avatar_url":"https://avatars.githubusercontent.com/u/11405732?v=3","gravatar_id":"","url":"https://api.github.com/users/ircecho","html_url":"https://github.com/ircecho","followers_url":"https://api.github.com/users/ircecho/followers","following_url":"https://api.github.com/users/ircecho/following{/other_user}","gists_url":"https://api.github.com/users/ircecho/gists{/gist_id}","starred_url":"https://api.github.com/users/ircecho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ircecho/subscriptions","organizations_url":"https://api.github.com/users/ircecho/orgs","repos_url":"https://api.github.com/users/ircecho/repos","events_url":"https://api.github.com/users/ircecho/events{/privacy}","received_events_url":"https://api.github.com/users/ircecho/received_events","type":"User","site_admin":false},"repo":{"id":54558318,"name":"swagger-codegen","full_name":"ircecho/swagger-codegen","owner":{"login":"ircecho","id":11405732,"avatar_url":"https://avatars.githubusercontent.com/u/11405732?v=3","gravatar_id":"","url":"https://api.github.com/users/ircecho","html_url":"https://github.com/ircecho","followers_url":"https://api.github.com/users/ircecho/followers","following_url":"https://api.github.com/users/ircecho/following{/other_user}","gists_url":"https://api.github.com/users/ircecho/gists{/gist_id}","starred_url":"https://api.github.com/users/ircecho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ircecho/subscriptions","organizations_url":"https://api.github.com/users/ircecho/orgs","repos_url":"https://api.github.com/users/ircecho/repos","events_url":"https://api.github.com/users/ircecho/events{/privacy}","received_events_url":"https://api.github.com/users/ircecho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ircecho/swagger-codegen","description":"swagger-codegen contains a template-driven engine to generate client code in different languages by parsing your Swagger Resource Declaration.","fork":true,"url":"https://api.github.com/repos/ircecho/swagger-codegen","forks_url":"https://api.github.com/repos/ircecho/swagger-codegen/forks","keys_url":"https://api.github.com/repos/ircecho/swagger-codegen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ircecho/swagger-codegen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ircecho/swagger-codegen/teams","hooks_url":"https://api.github.com/repos/ircecho/swagger-codegen/hooks","issue_events_url":"https://api.github.com/repos/ircecho/swagger-codegen/issues/events{/number}","events_url":"https://api.github.com/repos/ircecho/swagger-codegen/events","assignees_url":"https://api.github.com/repos/ircecho/swagger-codegen/assignees{/user}","branches_url":"https://api.github.com/repos/ircecho/swagger-codegen/branches{/branch}","tags_url":"https://api.github.com/repos/ircecho/swagger-codegen/tags","blobs_url":"https://api.github.com/repos/ircecho/swagger-codegen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ircecho/swagger-codegen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ircecho/swagger-codegen/git/refs{/sha}","trees_url":"https://api.github.com/repos/ircecho/swagger-codegen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ircecho/swagger-codegen/statuses/{sha}","languages_url":"https://api.github.com/repos/ircecho/swagger-codegen/languages","stargazers_url":"https://api.github.com/repos/ircecho/swagger-codegen/stargazers","contributors_url":"https://api.github.com/repos/ircecho/swagger-codegen/contributors","subscribers_url":"https://api.github.com/repos/ircecho/swagger-codegen/subscribers","subscription_url":"https://api.github.com/repos/ircecho/swagger-codegen/subscription","commits_url":"https://api.github.com/repos/ircecho/swagger-codegen/commits{/sha}","git_commits_url":"https://api.github.com/repos/ircecho/swagger-codegen/git/commits{/sha}","comments_url":"https://api.github.com/repos/ircecho/swagger-codegen/comments{/number}","issue_comment_url":"https://api.github.com/repos/ircecho/swagger-codegen/issues/comments{/number}","contents_url":"https://api.github.com/repos/ircecho/swagger-codegen/contents/{+path}","compare_url":"https://api.github.com/repos/ircecho/swagger-codegen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ircecho/swagger-codegen/merges","archive_url":"https://api.github.com/repos/ircecho/swagger-codegen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ircecho/swagger-codegen/downloads","issues_url":"https://api.github.com/repos/ircecho/swagger-codegen/issues{/number}","pulls_url":"https://api.github.com/repos/ircecho/swagger-codegen/pulls{/number}","milestones_url":"https://api.github.com/repos/ircecho/swagger-codegen/milestones{/number}","notifications_url":"https://api.github.com/repos/ircecho/swagger-codegen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ircecho/swagger-codegen/labels{/name}","releases_url":"https://api.github.com/repos/ircecho/swagger-codegen/releases{/id}","deployments_url":"https://api.github.com/repos/ircecho/swagger-codegen/deployments","created_at":"2016-03-23T12:33:39Z","updated_at":"2016-03-23T12:33:46Z","pushed_at":"2016-11-08T13:29:40Z","git_url":"git://github.com/ircecho/swagger-codegen.git","ssh_url":"git@github.com:ircecho/swagger-codegen.git","clone_url":"https://github.com/ircecho/swagger-codegen.git","svn_url":"https://github.com/ircecho/swagger-codegen","homepage":"http://swagger.io","size":41254,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"swagger-api:master","ref":"master","sha":"d5ced7df38125461d0bb898b1fe28869d95e3602","user":{"login":"swagger-api","id":7658037,"avatar_url":"https://avatars.githubusercontent.com/u/7658037?v=3","gravatar_id":"","url":"https://api.github.com/users/swagger-api","html_url":"https://github.com/swagger-api","followers_url":"https://api.github.com/users/swagger-api/followers","following_url":"https://api.github.com/users/swagger-api/following{/other_user}","gists_url":"https://api.github.com/users/swagger-api/gists{/gist_id}","starred_url":"https://api.github.com/users/swagger-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swagger-api/subscriptions","organizations_url":"https://api.github.com/users/swagger-api/orgs","repos_url":"https://api.github.com/users/swagger-api/repos","events_url":"https://api.github.com/users/swagger-api/events{/privacy}","received_events_url":"https://api.github.com/users/swagger-api/received_events","type":"Organization","site_admin":false},"repo":{"id":2006876,"name":"swagger-codegen","full_name":"swagger-api/swagger-codegen","owner":{"login":"swagger-api","id":7658037,"avatar_url":"https://avatars.githubusercontent.com/u/7658037?v=3","gravatar_id":"","url":"https://api.github.com/users/swagger-api","html_url":"https://github.com/swagger-api","followers_url":"https://api.github.com/users/swagger-api/followers","following_url":"https://api.github.com/users/swagger-api/following{/other_user}","gists_url":"https://api.github.com/users/swagger-api/gists{/gist_id}","starred_url":"https://api.github.com/users/swagger-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swagger-api/subscriptions","organizations_url":"https://api.github.com/users/swagger-api/orgs","repos_url":"https://api.github.com/users/swagger-api/repos","events_url":"https://api.github.com/users/swagger-api/events{/privacy}","received_events_url":"https://api.github.com/users/swagger-api/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swagger-api/swagger-codegen","description":"swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.","fork":false,"url":"https://api.github.com/repos/swagger-api/swagger-codegen","forks_url":"https://api.github.com/repos/swagger-api/swagger-codegen/forks","keys_url":"https://api.github.com/repos/swagger-api/swagger-codegen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swagger-api/swagger-codegen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swagger-api/swagger-codegen/teams","hooks_url":"https://api.github.com/repos/swagger-api/swagger-codegen/hooks","issue_events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/events{/number}","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/events","assignees_url":"https://api.github.com/repos/swagger-api/swagger-codegen/assignees{/user}","branches_url":"https://api.github.com/repos/swagger-api/swagger-codegen/branches{/branch}","tags_url":"https://api.github.com/repos/swagger-api/swagger-codegen/tags","blobs_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/refs{/sha}","trees_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/{sha}","languages_url":"https://api.github.com/repos/swagger-api/swagger-codegen/languages","stargazers_url":"https://api.github.com/repos/swagger-api/swagger-codegen/stargazers","contributors_url":"https://api.github.com/repos/swagger-api/swagger-codegen/contributors","subscribers_url":"https://api.github.com/repos/swagger-api/swagger-codegen/subscribers","subscription_url":"https://api.github.com/repos/swagger-api/swagger-codegen/subscription","commits_url":"https://api.github.com/repos/swagger-api/swagger-codegen/commits{/sha}","git_commits_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/commits{/sha}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/comments{/number}","issue_comment_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments{/number}","contents_url":"https://api.github.com/repos/swagger-api/swagger-codegen/contents/{+path}","compare_url":"https://api.github.com/repos/swagger-api/swagger-codegen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swagger-api/swagger-codegen/merges","archive_url":"https://api.github.com/repos/swagger-api/swagger-codegen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swagger-api/swagger-codegen/downloads","issues_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues{/number}","pulls_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls{/number}","milestones_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones{/number}","notifications_url":"https://api.github.com/repos/swagger-api/swagger-codegen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels{/name}","releases_url":"https://api.github.com/repos/swagger-api/swagger-codegen/releases{/id}","deployments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/deployments","created_at":"2011-07-06T14:26:48Z","updated_at":"2016-11-09T15:15:01Z","pushed_at":"2016-11-09T16:24:05Z","git_url":"git://github.com/swagger-api/swagger-codegen.git","ssh_url":"git@github.com:swagger-api/swagger-codegen.git","clone_url":"https://github.com/swagger-api/swagger-codegen.git","svn_url":"https://github.com/swagger-api/swagger-codegen","homepage":"http://swagger.io","size":61221,"stargazers_count":2986,"watchers_count":2986,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1706,"mirror_url":null,"open_issues_count":561,"forks":1706,"open_issues":561,"watchers":2986,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/4159"},"html":{"href":"https://github.com/swagger-api/swagger-codegen/pull/4159"},"issue":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4159"},"comments":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4159/comments"},"review_comments":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/4159/comments"},"review_comment":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/4159/commits"},"statuses":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/6d6cfb49843271c514fc98218269a139b23ed2df"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"wing328","id":934260,"avatar_url":"https://avatars.githubusercontent.com/u/934260?v=3","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":28,"deletions":48,"changed_files":8}}
{"actor":{"display_login":"wing328"}}