{"action":"closed","issue":{"url":"https://api.github.com/repos/moment/moment/issues/2863","labels_url":"https://api.github.com/repos/moment/moment/issues/2863/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment/issues/2863/comments","events_url":"https://api.github.com/repos/moment/moment/issues/2863/events","html_url":"https://github.com/moment/moment/issues/2863","id":124867897,"number":2863,"title":"Format for output and parsing works inconsistently, strict mode","user":{"login":"estorski","id":9264460,"avatar_url":"https://avatars.githubusercontent.com/u/9264460?v=3","gravatar_id":"","url":"https://api.github.com/users/estorski","html_url":"https://github.com/estorski","followers_url":"https://api.github.com/users/estorski/followers","following_url":"https://api.github.com/users/estorski/following{/other_user}","gists_url":"https://api.github.com/users/estorski/gists{/gist_id}","starred_url":"https://api.github.com/users/estorski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estorski/subscriptions","organizations_url":"https://api.github.com/users/estorski/orgs","repos_url":"https://api.github.com/users/estorski/repos","events_url":"https://api.github.com/users/estorski/events{/privacy}","received_events_url":"https://api.github.com/users/estorski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-05T00:15:07Z","updated_at":"2016-01-05T19:08:48Z","closed_at":"2016-01-05T19:08:48Z","body":"Hello everyone,\r\n\r\nI apologize if this issue is a duplicate for another active one.\r\n\r\nFor \"en\" locale:\r\nWhen I format a date like that \"YYYY-MMM-DD\", I get \"2016-Jan-05\", however parsing it back (strict mode) gives _invalid date_.\r\n\r\nconsole.log(moment(moment(\"2016-01-05\").format(\"YYYY-MMM-DD\"), \"YYYY-MMM-DD\", true));\r\n\r\nIs it the expected behavior?"}}