{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/intl/issues/16","labels_url":"https://api.github.com/repos/dart-lang/intl/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/intl/issues/16/comments","events_url":"https://api.github.com/repos/dart-lang/intl/issues/16/events","html_url":"https://github.com/dart-lang/intl/issues/16","id":85648354,"number":16,"title":"Misleading docs for intl DateFormat.formatDuration","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/intl/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/intl/labels/Fixed","name":"Fixed","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/intl/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T22:33:00Z","updated_at":"2015-06-05T22:33:00Z","closed_at":null,"body":"<a href=\"https://github.com/sethladd\"><img src=\"https://avatars.githubusercontent.com/u/5479?v=3\" align=\"left\" width=\"96\" height=\"96\"hspace=\"10\"></img></a> **Issue by [sethladd](https://github.com/sethladd)**\n_Originally opened as dart-lang/sdk#10139_\n\n----\n\nWe can save other developers' time by documentation that this method always returns an empty string:\n\n&nbsp;&nbsp;/\\*\\*\n&nbsp;&nbsp;&nbsp;\\* Returns a date string indicating how long ago (3 hours, 2 minutes)\n&nbsp;&nbsp;&nbsp;\\* something has happened or how long in the future something will happen\n&nbsp;&nbsp;&nbsp;\\* given a [reference] DateTime relative to the current time.\n&nbsp;&nbsp;&nbsp;\\*/\n&nbsp;&nbsp;String formatDuration(DateTime reference) {\n&nbsp;&nbsp;&nbsp;&nbsp;return '';\n&nbsp;&nbsp;}\n\nOr, better yet, implement the method :)\n\n(please triage to Area=Pkg and CC alanknight)"},"comment":{"url":"https://api.github.com/repos/dart-lang/intl/issues/comments/109466642","html_url":"https://github.com/dart-lang/intl/issues/16#issuecomment-109466642","issue_url":"https://api.github.com/repos/dart-lang/intl/issues/16","id":109466642,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T22:33:00Z","updated_at":"2015-06-05T22:33:00Z","body":"<a href=\"https://github.com/lrhn\"><img src=\"https://avatars.githubusercontent.com/u/4865287?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [lrhn](https://github.com/lrhn)**\n\n----\n\n*Added [Area-Pkg](../labels/Area-Pkg), [Triaged](../labels/Triaged) labels.*\n"}}