{"action":"created","issue":{"url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/12","labels_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/12/comments","events_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/12/events","html_url":"https://github.com/intljusticemission/react-big-calendar/issues/12","id":119858477,"number":12,"title":"0.9.4 broken? Validation checks for the firstOfWeek in localizer","user":{"login":"joewood","id":1389583,"avatar_url":"https://avatars.githubusercontent.com/u/1389583?v=3","gravatar_id":"","url":"https://api.github.com/users/joewood","html_url":"https://github.com/joewood","followers_url":"https://api.github.com/users/joewood/followers","following_url":"https://api.github.com/users/joewood/following{/other_user}","gists_url":"https://api.github.com/users/joewood/gists{/gist_id}","starred_url":"https://api.github.com/users/joewood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joewood/subscriptions","organizations_url":"https://api.github.com/users/joewood/orgs","repos_url":"https://api.github.com/users/joewood/repos","events_url":"https://api.github.com/users/joewood/events{/privacy}","received_events_url":"https://api.github.com/users/joewood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-02T03:20:28Z","updated_at":"2015-12-02T14:23:32Z","closed_at":null,"body":"I'm using the 0.9.4 release and I'm seeing an assertion error that I wasn't seeing in 0.9.2.\r\nThe failure is around finding the function `firstOfWeek` in the localizer.\r\nI'm using `moment` to initialize:\r\n\r\n```javascript\r\nBigCalendar.setLocalizer(\r\n  BigCalendar.momentLocalizer(moment)\r\n);\r\n```"},"comment":{"url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/comments/161312874","html_url":"https://github.com/intljusticemission/react-big-calendar/issues/12#issuecomment-161312874","issue_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/12","id":161312874,"user":{"login":"joewood","id":1389583,"avatar_url":"https://avatars.githubusercontent.com/u/1389583?v=3","gravatar_id":"","url":"https://api.github.com/users/joewood","html_url":"https://github.com/joewood","followers_url":"https://api.github.com/users/joewood/followers","following_url":"https://api.github.com/users/joewood/following{/other_user}","gists_url":"https://api.github.com/users/joewood/gists{/gist_id}","starred_url":"https://api.github.com/users/joewood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joewood/subscriptions","organizations_url":"https://api.github.com/users/joewood/orgs","repos_url":"https://api.github.com/users/joewood/repos","events_url":"https://api.github.com/users/joewood/events{/privacy}","received_events_url":"https://api.github.com/users/joewood/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T14:23:32Z","updated_at":"2015-12-02T14:23:32Z","body":"This invariant is failing: https://github.com/intljusticemission/react-big-calendar/blob/master/src/localizer.js#L27\r\n\r\nThis is running with Moment 2.10.6.  Moment has `startOf(\"week\")` - I think `startOfWeek` is deprecated."}}