{"action":"created","issue":{"url":"https://api.github.com/repos/node-swig/swig-templates/issues/34","repository_url":"https://api.github.com/repos/node-swig/swig-templates","labels_url":"https://api.github.com/repos/node-swig/swig-templates/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/node-swig/swig-templates/issues/34/comments","events_url":"https://api.github.com/repos/node-swig/swig-templates/issues/34/events","html_url":"https://github.com/node-swig/swig-templates/issues/34","id":187866448,"number":34,"title":"problem with date","user":{"login":"S1SYPHOS","id":12161504,"avatar_url":"https://avatars.githubusercontent.com/u/12161504?v=3","gravatar_id":"","url":"https://api.github.com/users/S1SYPHOS","html_url":"https://github.com/S1SYPHOS","followers_url":"https://api.github.com/users/S1SYPHOS/followers","following_url":"https://api.github.com/users/S1SYPHOS/following{/other_user}","gists_url":"https://api.github.com/users/S1SYPHOS/gists{/gist_id}","starred_url":"https://api.github.com/users/S1SYPHOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/S1SYPHOS/subscriptions","organizations_url":"https://api.github.com/users/S1SYPHOS/orgs","repos_url":"https://api.github.com/users/S1SYPHOS/repos","events_url":"https://api.github.com/users/S1SYPHOS/events{/privacy}","received_events_url":"https://api.github.com/users/S1SYPHOS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-08T00:10:25Z","updated_at":"2016-11-08T08:22:45Z","closed_at":null,"body":"Hey there,\r\nI hope you don't mind me asking this here, wasn't sure wether SO is the right place or not, but I am currently trying to figure out why `swig` doesn't accept my `date` call inside a loop, like this:\r\n\r\n```html\r\n{% for post in collections.posts %}\r\n  ...\r\n    <span class=\"post-date\">{{ post.date | date('d M Y') }}</span>\r\n  ...\r\n{% endfor %}\r\n```\r\nThis gives me `Unable to parse \"post.date | date(&#39;d M Y&#39;)\"`, while outside of loops / everywhere else it's just working fine. Background: I'm using [`metalsmith`](http://metalsmith.io) and have this problem with both `swig` and `swig-templates`. If I am missing something obvious: don't mind me asking, I'm still learning :icecream: "},"comment":{"url":"https://api.github.com/repos/node-swig/swig-templates/issues/comments/259074096","html_url":"https://github.com/node-swig/swig-templates/issues/34#issuecomment-259074096","issue_url":"https://api.github.com/repos/node-swig/swig-templates/issues/34","id":259074096,"user":{"login":"cdaringe","id":1003261,"avatar_url":"https://avatars.githubusercontent.com/u/1003261?v=3","gravatar_id":"","url":"https://api.github.com/users/cdaringe","html_url":"https://github.com/cdaringe","followers_url":"https://api.github.com/users/cdaringe/followers","following_url":"https://api.github.com/users/cdaringe/following{/other_user}","gists_url":"https://api.github.com/users/cdaringe/gists{/gist_id}","starred_url":"https://api.github.com/users/cdaringe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdaringe/subscriptions","organizations_url":"https://api.github.com/users/cdaringe/orgs","repos_url":"https://api.github.com/users/cdaringe/repos","events_url":"https://api.github.com/users/cdaringe/events{/privacy}","received_events_url":"https://api.github.com/users/cdaringe/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T08:22:44Z","updated_at":"2016-11-08T08:22:44Z","body":"http://www.ascii.cl/htmlcodes.htm\r\n\r\nare you running in the browser or on node?"}}
{"actor":{"display_login":"cdaringe"}}