{"action":"created","issue":{"url":"https://api.github.com/repos/moment/moment/issues/3019","repository_url":"https://api.github.com/repos/moment/moment","labels_url":"https://api.github.com/repos/moment/moment/issues/3019/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment/issues/3019/comments","events_url":"https://api.github.com/repos/moment/moment/issues/3019/events","html_url":"https://github.com/moment/moment/issues/3019","id":139389078,"number":3019,"title":"moment.ISO_8601 constant not accepted by format method","user":{"login":"mj1856","id":1396388,"avatar_url":"https://avatars.githubusercontent.com/u/1396388?v=3","gravatar_id":"","url":"https://api.github.com/users/mj1856","html_url":"https://github.com/mj1856","followers_url":"https://api.github.com/users/mj1856/followers","following_url":"https://api.github.com/users/mj1856/following{/other_user}","gists_url":"https://api.github.com/users/mj1856/gists{/gist_id}","starred_url":"https://api.github.com/users/mj1856/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mj1856/subscriptions","organizations_url":"https://api.github.com/users/mj1856/orgs","repos_url":"https://api.github.com/users/mj1856/repos","events_url":"https://api.github.com/users/mj1856/events{/privacy}","received_events_url":"https://api.github.com/users/mj1856/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/moment/moment/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/moment/moment/labels/Enhancement","name":"Enhancement","color":"fef2c0"},{"url":"https://api.github.com/repos/moment/moment/labels/Up-For-Grabs","name":"Up-For-Grabs","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-08T20:47:28Z","updated_at":"2016-04-04T02:23:44Z","closed_at":null,"body":"We have the `moment.ISO_8601` constant, but it only works when parsing.  It should also be accepted on formatting.\r\n\r\nCurrently, `moment().format(moment.ISO_8601)` gives `Uncaught TypeError: format.match is not a function`"},"comment":{"url":"https://api.github.com/repos/moment/moment/issues/comments/205105098","html_url":"https://github.com/moment/moment/issues/3019#issuecomment-205105098","issue_url":"https://api.github.com/repos/moment/moment/issues/3019","id":205105098,"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":"2016-04-04T02:23:44Z","updated_at":"2016-04-04T02:23:44Z","body":"All I was saying was for the `format == 'ISO_8601'` option to do the same thing as `toISOString()`, if it does anything at all."}}