{"action":"created","issue":{"url":"https://api.github.com/repos/symphonists/unpublishedfilter/issues/7","labels_url":"https://api.github.com/repos/symphonists/unpublishedfilter/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/symphonists/unpublishedfilter/issues/7/comments","events_url":"https://api.github.com/repos/symphonists/unpublishedfilter/issues/7/events","html_url":"https://github.com/symphonists/unpublishedfilter/issues/7","id":63824635,"number":7,"title":"JS-Error in list view in conjunction with 2.6.x Date Fields (moment.js)","user":{"login":"animaux","id":446874,"avatar_url":"https://avatars.githubusercontent.com/u/446874?v=3","gravatar_id":"","url":"https://api.github.com/users/animaux","html_url":"https://github.com/animaux","followers_url":"https://api.github.com/users/animaux/followers","following_url":"https://api.github.com/users/animaux/following{/other_user}","gists_url":"https://api.github.com/users/animaux/gists{/gist_id}","starred_url":"https://api.github.com/users/animaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/animaux/subscriptions","organizations_url":"https://api.github.com/users/animaux/orgs","repos_url":"https://api.github.com/users/animaux/repos","events_url":"https://api.github.com/users/animaux/events{/privacy}","received_events_url":"https://api.github.com/users/animaux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nitriques","id":771169,"avatar_url":"https://avatars.githubusercontent.com/u/771169?v=3","gravatar_id":"","url":"https://api.github.com/users/nitriques","html_url":"https://github.com/nitriques","followers_url":"https://api.github.com/users/nitriques/followers","following_url":"https://api.github.com/users/nitriques/following{/other_user}","gists_url":"https://api.github.com/users/nitriques/gists{/gist_id}","starred_url":"https://api.github.com/users/nitriques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitriques/subscriptions","organizations_url":"https://api.github.com/users/nitriques/orgs","repos_url":"https://api.github.com/users/nitriques/repos","events_url":"https://api.github.com/users/nitriques/events{/privacy}","received_events_url":"https://api.github.com/users/nitriques/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-03-23T20:30:10Z","updated_at":"2015-03-24T14:29:48Z","closed_at":null,"body":"When using a date field in an installation recently updated from 2.2.5 to 2.6.1 I get the following JS-Error in the console:\r\n\r\n[Error] TypeError: undefined is not a function (evaluating 'moment().utcOffset()')\r\n  (anonym funksjon) (symphony.min.js, line 97)\r\n  each (symphony.min.js, line 14)\r\n  each (symphony.min.js, line 14)\r\n  (anonym funksjon) (symphony.min.js, line 97)\r\n  execute (symphony.min.js, line 32)\r\n  dispatch (symphony.min.js, line 32)\r\n  dispatch (symphony.min.js, line 32)\r\n  parse (symphony.min.js, line 37)\r\n  render (symphony.min.js, line 96)\r\n  (anonym funksjon) (symphony.min.js, line 97)\r\n  k (symphony.min.js, line 24)\r\n  fireWith (symphony.min.js, line 24)\r\n  ready (symphony.min.js, line 24)\r\n  g (symphony.min.js, line 14)\r\n\r\n… as long as `unpublishedfilter` is activated.\r\n\r\nhttps://github.com/symphonycms/symphony-2/issues/2388"},"comment":{"url":"https://api.github.com/repos/symphonists/unpublishedfilter/issues/comments/85523750","html_url":"https://github.com/symphonists/unpublishedfilter/issues/7#issuecomment-85523750","issue_url":"https://api.github.com/repos/symphonists/unpublishedfilter/issues/7","id":85523750,"user":{"login":"nitriques","id":771169,"avatar_url":"https://avatars.githubusercontent.com/u/771169?v=3","gravatar_id":"","url":"https://api.github.com/users/nitriques","html_url":"https://github.com/nitriques","followers_url":"https://api.github.com/users/nitriques/followers","following_url":"https://api.github.com/users/nitriques/following{/other_user}","gists_url":"https://api.github.com/users/nitriques/gists{/gist_id}","starred_url":"https://api.github.com/users/nitriques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitriques/subscriptions","organizations_url":"https://api.github.com/users/nitriques/orgs","repos_url":"https://api.github.com/users/nitriques/repos","events_url":"https://api.github.com/users/nitriques/events{/privacy}","received_events_url":"https://api.github.com/users/nitriques/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T14:29:48Z","updated_at":"2015-03-24T14:29:48Z","body":"@nilshoerrmann thanks for the heads up.\r\n\r\n@animaux it is optional! But you would have to rename your field. Let's continue that discussion in the other issue :)\r\n\r\nFor now, I will remove moment for 2.6+ setups and release a new version."}}