{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/react-intl/issues/991","repository_url":"https://api.github.com/repos/yahoo/react-intl","labels_url":"https://api.github.com/repos/yahoo/react-intl/issues/991/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/react-intl/issues/991/comments","events_url":"https://api.github.com/repos/yahoo/react-intl/issues/991/events","html_url":"https://github.com/yahoo/react-intl/issues/991","id":243639058,"number":991,"title":"Day minus 1 using intl in Safari","user":{"login":"lauterry","id":1374238,"avatar_url":"https://avatars1.githubusercontent.com/u/1374238?v=4","gravatar_id":"","url":"https://api.github.com/users/lauterry","html_url":"https://github.com/lauterry","followers_url":"https://api.github.com/users/lauterry/followers","following_url":"https://api.github.com/users/lauterry/following{/other_user}","gists_url":"https://api.github.com/users/lauterry/gists{/gist_id}","starred_url":"https://api.github.com/users/lauterry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauterry/subscriptions","organizations_url":"https://api.github.com/users/lauterry/orgs","repos_url":"https://api.github.com/users/lauterry/repos","events_url":"https://api.github.com/users/lauterry/events{/privacy}","received_events_url":"https://api.github.com/users/lauterry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-18T08:31:28Z","updated_at":"2017-11-16T07:19:57Z","closed_at":null,"author_association":"NONE","body":"Hello\r\n\r\nI expect the following code \r\n```\r\nthis.props.intl.formatDate(new Date(1972, 5, 15), {day: \"2-digit\", month: \"long\", year: \"numeric\"})\r\n```\r\nto output\r\n\r\n```15 juin 1972```.\r\n\r\nHowever it outputs ```14 juin 1972```.\r\n\r\nThe day is not correct.\r\n\r\nThis issue has occurred on Safari browser mobile and desktop.\r\n\r\nThis issue also occurred for Chrome when the date is <  march 31th 1970\r\n\r\nI'm using react-intl 2.2.3 and intl 1.1.0\r\n\r\nBest regards"},"comment":{"url":"https://api.github.com/repos/yahoo/react-intl/issues/comments/344837065","html_url":"https://github.com/yahoo/react-intl/issues/991#issuecomment-344837065","issue_url":"https://api.github.com/repos/yahoo/react-intl/issues/991","id":344837065,"user":{"login":"ghostd","id":1098399,"avatar_url":"https://avatars1.githubusercontent.com/u/1098399?v=4","gravatar_id":"","url":"https://api.github.com/users/ghostd","html_url":"https://github.com/ghostd","followers_url":"https://api.github.com/users/ghostd/followers","following_url":"https://api.github.com/users/ghostd/following{/other_user}","gists_url":"https://api.github.com/users/ghostd/gists{/gist_id}","starred_url":"https://api.github.com/users/ghostd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghostd/subscriptions","organizations_url":"https://api.github.com/users/ghostd/orgs","repos_url":"https://api.github.com/users/ghostd/repos","events_url":"https://api.github.com/users/ghostd/events{/privacy}","received_events_url":"https://api.github.com/users/ghostd/received_events","type":"User","site_admin":false},"created_at":"2017-11-16T07:19:57Z","updated_at":"2017-11-16T07:19:57Z","author_association":"NONE","body":"You could:\r\n* parse an ISO string to get your date browser compliant (see [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse): A string representing an RFC2822 or (a variant of) ISO 8601 date (other formats may be used, but results may be unexpected))\r\n* or use a lib to parse your date (date-fns or moment)"}}
{"actor":{"display_login":"ghostd"}}