{"action":"created","issue":{"url":"https://api.github.com/repos/moment/moment/issues/3548","repository_url":"https://api.github.com/repos/moment/moment","labels_url":"https://api.github.com/repos/moment/moment/issues/3548/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment/issues/3548/comments","events_url":"https://api.github.com/repos/moment/moment/issues/3548/events","html_url":"https://github.com/moment/moment/pull/3548","id":186112705,"number":3548,"title":"Immutable API","user":{"login":"butterflyhug","id":282994,"avatar_url":"https://avatars.githubusercontent.com/u/282994?v=3","gravatar_id":"","url":"https://api.github.com/users/butterflyhug","html_url":"https://github.com/butterflyhug","followers_url":"https://api.github.com/users/butterflyhug/followers","following_url":"https://api.github.com/users/butterflyhug/following{/other_user}","gists_url":"https://api.github.com/users/butterflyhug/gists{/gist_id}","starred_url":"https://api.github.com/users/butterflyhug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butterflyhug/subscriptions","organizations_url":"https://api.github.com/users/butterflyhug/orgs","repos_url":"https://api.github.com/users/butterflyhug/repos","events_url":"https://api.github.com/users/butterflyhug/events{/privacy}","received_events_url":"https://api.github.com/users/butterflyhug/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-10-30T02:22:06Z","updated_at":"2016-11-12T16:12:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/moment/moment/pulls/3548","html_url":"https://github.com/moment/moment/pull/3548","diff_url":"https://github.com/moment/moment/pull/3548.diff","patch_url":"https://github.com/moment/moment/pull/3548.patch"},"body":"This is an implementation of moment/moment-rfcs#2, which was written to address #1754.  This is obviously a breaking API change that would require a new major version number (e.g. \"3.0\").\n\nThe only major change from the RFC draft's discussion is that `moment.updateOffset()` and `moment.duration()._bubble()` will now return moment and duration objects, respectively.  Otherwise it's pretty much impossible for external code to customize the behavior of these hooks.\n\nFeedback welcome!  :smiley:\n"},"comment":{"url":"https://api.github.com/repos/moment/moment/issues/comments/260131009","html_url":"https://github.com/moment/moment/pull/3548#issuecomment-260131009","issue_url":"https://api.github.com/repos/moment/moment/issues/3548","id":260131009,"user":{"login":"ichernev","id":757060,"avatar_url":"https://avatars.githubusercontent.com/u/757060?v=3","gravatar_id":"","url":"https://api.github.com/users/ichernev","html_url":"https://github.com/ichernev","followers_url":"https://api.github.com/users/ichernev/followers","following_url":"https://api.github.com/users/ichernev/following{/other_user}","gists_url":"https://api.github.com/users/ichernev/gists{/gist_id}","starred_url":"https://api.github.com/users/ichernev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichernev/subscriptions","organizations_url":"https://api.github.com/users/ichernev/orgs","repos_url":"https://api.github.com/users/ichernev/repos","events_url":"https://api.github.com/users/ichernev/events{/privacy}","received_events_url":"https://api.github.com/users/ichernev/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T16:12:46Z","updated_at":"2016-11-12T16:12:46Z","body":"@maggiepint it hasn't. But I fail to find a better interface for updating the offset. So more or less it will be what the rfc says. If you have another idea that will magically solve the issue at hand I'm all ears."}}
{"actor":{"display_login":"ichernev"}}