{"action":"created","issue":{"url":"https://api.github.com/repos/moment/moment/issues/2530","labels_url":"https://api.github.com/repos/moment/moment/issues/2530/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment/issues/2530/comments","events_url":"https://api.github.com/repos/moment/moment/issues/2530/events","html_url":"https://github.com/moment/moment/issues/2530","id":98588951,"number":2530,"title":"Official support for parsing RFC2822 dates","user":{"login":"mitar","id":585279,"avatar_url":"https://avatars.githubusercontent.com/u/585279?v=3","gravatar_id":"","url":"https://api.github.com/users/mitar","html_url":"https://github.com/mitar","followers_url":"https://api.github.com/users/mitar/followers","following_url":"https://api.github.com/users/mitar/following{/other_user}","gists_url":"https://api.github.com/users/mitar/gists{/gist_id}","starred_url":"https://api.github.com/users/mitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitar/subscriptions","organizations_url":"https://api.github.com/users/mitar/orgs","repos_url":"https://api.github.com/users/mitar/repos","events_url":"https://api.github.com/users/mitar/events{/privacy}","received_events_url":"https://api.github.com/users/mitar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/moment/moment/labels/Enhancement","name":"Enhancement","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-02T06:29:44Z","updated_at":"2015-08-03T22:55:28Z","closed_at":null,"body":"In #1407 it is claimed that only ISO dates are parsed because others can't be reliably parsed. But RFC2822 date is support by `Date` since JavaScript 1.0 in all browsers. In fact, RFC2822 date is the most supported format in JavaScript. ISO-8601 was added just in ECMAScript 5.\r\n\r\nSo, I understand why arbitrary strings might not tried to be parsed automatically, but why not allow parsing RFC2822 strings? They are as clearly defined as ISO strings?\r\n\r\nIn my opinion moment.js should support what Date supports across platforms, and add more. Not that is supports less?"},"comment":{"url":"https://api.github.com/repos/moment/moment/issues/comments/127426603","html_url":"https://github.com/moment/moment/issues/2530#issuecomment-127426603","issue_url":"https://api.github.com/repos/moment/moment/issues/2530","id":127426603,"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},"created_at":"2015-08-03T22:55:28Z","updated_at":"2015-08-03T22:55:28Z","body":"One thing to note, this format has English abbreviations for weekday names and month names.  This means to support it properly, we need to use the English strings regardless of the current locale."}}