{"action":"created","issue":{"url":"https://api.github.com/repos/jquense/react-widgets/issues/223","labels_url":"https://api.github.com/repos/jquense/react-widgets/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/jquense/react-widgets/issues/223/comments","events_url":"https://api.github.com/repos/jquense/react-widgets/issues/223/events","html_url":"https://github.com/jquense/react-widgets/issues/223","id":110894723,"number":223,"title":"Unable to use DateTimePicker","user":{"login":"agile116","id":11846035,"avatar_url":"https://avatars.githubusercontent.com/u/11846035?v=3","gravatar_id":"","url":"https://api.github.com/users/agile116","html_url":"https://github.com/agile116","followers_url":"https://api.github.com/users/agile116/followers","following_url":"https://api.github.com/users/agile116/following{/other_user}","gists_url":"https://api.github.com/users/agile116/gists{/gist_id}","starred_url":"https://api.github.com/users/agile116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agile116/subscriptions","organizations_url":"https://api.github.com/users/agile116/orgs","repos_url":"https://api.github.com/users/agile116/repos","events_url":"https://api.github.com/users/agile116/events{/privacy}","received_events_url":"https://api.github.com/users/agile116/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-12T00:56:34Z","updated_at":"2015-10-12T01:57:19Z","closed_at":null,"body":"Hi,\r\n\r\nI'm unable to use DateTimePicker component. It shows invalid date in the date popup. Any issues with the following implementation?\r\nimport DateTimePicker from 'react-widgets/lib/DateTimePicker';\r\nimport configure from 'react-widgets/lib/configure';\r\nimport momentLocalizer from 'react-widgets/lib/localizers/moment';\r\nconfigure.setDateLocalizer(momentLocalizer(moment));\r\n\r\n  <DateTimePicker format={'MM/DD/YYYY hh:mm A'} defaultValue={new Date()} culture='en'/>"},"comment":{"url":"https://api.github.com/repos/jquense/react-widgets/issues/comments/147273186","html_url":"https://github.com/jquense/react-widgets/issues/223#issuecomment-147273186","issue_url":"https://api.github.com/repos/jquense/react-widgets/issues/223","id":147273186,"user":{"login":"jquense","id":339286,"avatar_url":"https://avatars.githubusercontent.com/u/339286?v=3","gravatar_id":"","url":"https://api.github.com/users/jquense","html_url":"https://github.com/jquense","followers_url":"https://api.github.com/users/jquense/followers","following_url":"https://api.github.com/users/jquense/following{/other_user}","gists_url":"https://api.github.com/users/jquense/gists{/gist_id}","starred_url":"https://api.github.com/users/jquense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jquense/subscriptions","organizations_url":"https://api.github.com/users/jquense/orgs","repos_url":"https://api.github.com/users/jquense/repos","events_url":"https://api.github.com/users/jquense/events{/privacy}","received_events_url":"https://api.github.com/users/jquense/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T01:57:19Z","updated_at":"2015-10-12T01:57:19Z","body":"it gives you the missing error if you just use `momentLocalizer(moment)`? can you set some break points on the moment localized and gather a bit more info about where it's failing? I'll take a look first this tomorrow but more context is helpful in case I can't repo the issue. \r\n\r\nthanks"}}