{"action":"created","issue":{"url":"https://api.github.com/repos/vlio20/angular-datepicker/issues/355","repository_url":"https://api.github.com/repos/vlio20/angular-datepicker","labels_url":"https://api.github.com/repos/vlio20/angular-datepicker/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/vlio20/angular-datepicker/issues/355/comments","events_url":"https://api.github.com/repos/vlio20/angular-datepicker/issues/355/events","html_url":"https://github.com/vlio20/angular-datepicker/issues/355","id":295947328,"number":355,"title":"Not able to bind to moment, getting TypeError: (value || \"\").split is not a function","user":{"login":"cyates81","id":5283405,"avatar_url":"https://avatars0.githubusercontent.com/u/5283405?v=4","gravatar_id":"","url":"https://api.github.com/users/cyates81","html_url":"https://github.com/cyates81","followers_url":"https://api.github.com/users/cyates81/followers","following_url":"https://api.github.com/users/cyates81/following{/other_user}","gists_url":"https://api.github.com/users/cyates81/gists{/gist_id}","starred_url":"https://api.github.com/users/cyates81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyates81/subscriptions","organizations_url":"https://api.github.com/users/cyates81/orgs","repos_url":"https://api.github.com/users/cyates81/repos","events_url":"https://api.github.com/users/cyates81/events{/privacy}","received_events_url":"https://api.github.com/users/cyates81/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-09T17:24:04Z","updated_at":"2018-02-09T20:31:08Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI am using Angular 5, moment 2.20.1, Chrome 64, Mac High Sierra.  I updated to version 2.7.4 and now I get the following stack trace:\r\n\r\nUncaught (in promise): TypeError: (value || \"\").split is not a function\r\nTypeError: (value || \"\").split is not a function\r\n    at UtilsService.datesStringToStringArray (http://localhost:8100/build/vendor.js:44895:30)\r\n    at DatePickerService.isValidInputDateValue (http://localhost:8100/build/vendor.js:211582:45)\r\n    at DatePickerComponent.onViewDateChange (http://localhost:8100/build/vendor.js:92223:35)\r\n    at http://localhost:8100/build/vendor.js:129065:34\r\n    at SafeSubscriber.schedulerFn [as _next] (http://localhost:8100/build/vendor.js:4586:36)\r\n    at SafeSubscriber.__tryOrUnsub (http://localhost:8100/build/vendor.js:63973:16)\r\n    at SafeSubscriber.next (http://localhost:8100/build/vendor.js:63920:22)\r\n    at Subscriber._next (http://localhost:8100/build/vendor.js:63860:26)\r\n    at Subscriber.next (http://localhost:8100/build/vendor.js:63824:18)\r\n    at EventEmitter.Subject.next (http://localhost:8100/build/vendor.js:64060:25)\r\n\r\nThe only way I can prevent this is to bind to a string which is not ideal.  Thanks for your help."},"comment":{"url":"https://api.github.com/repos/vlio20/angular-datepicker/issues/comments/364556669","html_url":"https://github.com/vlio20/angular-datepicker/issues/355#issuecomment-364556669","issue_url":"https://api.github.com/repos/vlio20/angular-datepicker/issues/355","id":364556669,"user":{"login":"cyates81","id":5283405,"avatar_url":"https://avatars0.githubusercontent.com/u/5283405?v=4","gravatar_id":"","url":"https://api.github.com/users/cyates81","html_url":"https://github.com/cyates81","followers_url":"https://api.github.com/users/cyates81/followers","following_url":"https://api.github.com/users/cyates81/following{/other_user}","gists_url":"https://api.github.com/users/cyates81/gists{/gist_id}","starred_url":"https://api.github.com/users/cyates81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyates81/subscriptions","organizations_url":"https://api.github.com/users/cyates81/orgs","repos_url":"https://api.github.com/users/cyates81/repos","events_url":"https://api.github.com/users/cyates81/events{/privacy}","received_events_url":"https://api.github.com/users/cyates81/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T20:31:08Z","updated_at":"2018-02-09T20:31:08Z","author_association":"NONE","body":"https://ionic-8csbwc.stackblitz.io/\r\n\r\nThe error will show in console.  It appears to still work someone on stackblitz but when running from ionic serve it brings the error window up and then doesn't function properly."}}
{"actor":{"display_login":"cyates81"}}