{"action":"opened","issue":{"url":"https://api.github.com/repos/nio-blocks/filter/issues/9","labels_url":"https://api.github.com/repos/nio-blocks/filter/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/nio-blocks/filter/issues/9/comments","events_url":"https://api.github.com/repos/nio-blocks/filter/issues/9/events","html_url":"https://github.com/nio-blocks/filter/issues/9","id":67163574,"number":9,"title":"datetime evaluations","user":{"login":"tyoungNIO","id":8739615,"avatar_url":"https://avatars.githubusercontent.com/u/8739615?v=3","gravatar_id":"","url":"https://api.github.com/users/tyoungNIO","html_url":"https://github.com/tyoungNIO","followers_url":"https://api.github.com/users/tyoungNIO/followers","following_url":"https://api.github.com/users/tyoungNIO/following{/other_user}","gists_url":"https://api.github.com/users/tyoungNIO/gists{/gist_id}","starred_url":"https://api.github.com/users/tyoungNIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyoungNIO/subscriptions","organizations_url":"https://api.github.com/users/tyoungNIO/orgs","repos_url":"https://api.github.com/users/tyoungNIO/repos","events_url":"https://api.github.com/users/tyoungNIO/events{/privacy}","received_events_url":"https://api.github.com/users/tyoungNIO/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-08T16:06:54Z","updated_at":"2015-04-08T16:06:54Z","closed_at":null,"body":"Previous to 1.5.0, this expression worked in a filter, all values being datetime.utcnow objects:\r\n{{($simtime - $eventtime) > datetime.timedelta(seconds=20)}}\r\nCurrently, this results in the following error:\r\n Filter condition evaluation failed: TypeError: unsupported operand type(s) for -: 'str' and 'datetime.datetime'\r\n\r\nAs of today, the working expression looks like:\r\n{{($simtime - datetime.timedelta(seconds=20)) > $eventtime}}\r\n\r\nI verified the inputs to the filter were valid datetime objects, and not strings, but was unable to get it pass until using the above working expression."}}