{"action":"created","issue":{"url":"https://api.github.com/repos/moment/moment/issues/1794","labels_url":"https://api.github.com/repos/moment/moment/issues/1794/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment/issues/1794/comments","events_url":"https://api.github.com/repos/moment/moment/issues/1794/events","html_url":"https://github.com/moment/moment/pull/1794","id":38591058,"number":1794,"title":"Feature - Round to a unit by a given offset","user":{"login":"triqi","id":2232035,"avatar_url":"https://avatars.githubusercontent.com/u/2232035?v=3","gravatar_id":"","url":"https://api.github.com/users/triqi","html_url":"https://github.com/triqi","followers_url":"https://api.github.com/users/triqi/followers","following_url":"https://api.github.com/users/triqi/following{/other_user}","gists_url":"https://api.github.com/users/triqi/gists{/gist_id}","starred_url":"https://api.github.com/users/triqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triqi/subscriptions","organizations_url":"https://api.github.com/users/triqi/orgs","repos_url":"https://api.github.com/users/triqi/repos","events_url":"https://api.github.com/users/triqi/events{/privacy}","received_events_url":"https://api.github.com/users/triqi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/moment/moment/labels/es6%20rework","name":"es6 rework","color":"bfe5bf"},{"url":"https://api.github.com/repos/moment/moment/labels/New%20Feature","name":"New Feature","color":"bfe5bf"},{"url":"https://api.github.com/repos/moment/moment/labels/todo","name":"todo","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":65,"created_at":"2014-07-24T01:53:19Z","updated_at":"2015-11-26T14:18:48Z","closed_at":"2015-11-26T14:18:48Z","pull_request":{"url":"https://api.github.com/repos/moment/moment/pulls/1794","html_url":"https://github.com/moment/moment/pull/1794","diff_url":"https://github.com/moment/moment/pull/1794.diff","patch_url":"https://github.com/moment/moment/pull/1794.patch"},"body":"Round up, down or to the nearest unit.\r\n\r\nUsage: moment.roundTo(units, [offset, midpoint])\r\n\r\nm.roundTo('minute', 15); // Round the moment to the nearest 15 minutes.\r\nm.roundTo('minute', 15, 'up'); // Round the moment up to the nearest 15 minutes.\r\nm.roundTo('minute', 15, 'down'); // Round the moment down to the nearest 15 minutes."},"comment":{"url":"https://api.github.com/repos/moment/moment/issues/comments/159925834","html_url":"https://github.com/moment/moment/pull/1794#issuecomment-159925834","issue_url":"https://api.github.com/repos/moment/moment/issues/1794","id":159925834,"user":{"login":"icambron","id":244988,"avatar_url":"https://avatars.githubusercontent.com/u/244988?v=3","gravatar_id":"","url":"https://api.github.com/users/icambron","html_url":"https://github.com/icambron","followers_url":"https://api.github.com/users/icambron/followers","following_url":"https://api.github.com/users/icambron/following{/other_user}","gists_url":"https://api.github.com/users/icambron/gists{/gist_id}","starred_url":"https://api.github.com/users/icambron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icambron/subscriptions","organizations_url":"https://api.github.com/users/icambron/orgs","repos_url":"https://api.github.com/users/icambron/repos","events_url":"https://api.github.com/users/icambron/events{/privacy}","received_events_url":"https://api.github.com/users/icambron/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T14:18:48Z","updated_at":"2015-11-26T14:18:48Z","body":"Closing for age/lack of action. If someone wants to rebase this, fix whatever's left to do, and resubmit, that's cool."}}