{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/1587","repository_url":"https://api.github.com/repos/mautic/mautic","labels_url":"https://api.github.com/repos/mautic/mautic/issues/1587/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/1587/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/1587/events","html_url":"https://github.com/mautic/mautic/pull/1587","id":147357203,"number":1587,"title":"Date filter php date support","user":{"login":"ukkokumpulainen","id":12629315,"avatar_url":"https://avatars0.githubusercontent.com/u/12629315?v=4","gravatar_id":"","url":"https://api.github.com/users/ukkokumpulainen","html_url":"https://github.com/ukkokumpulainen","followers_url":"https://api.github.com/users/ukkokumpulainen/followers","following_url":"https://api.github.com/users/ukkokumpulainen/following{/other_user}","gists_url":"https://api.github.com/users/ukkokumpulainen/gists{/gist_id}","starred_url":"https://api.github.com/users/ukkokumpulainen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukkokumpulainen/subscriptions","organizations_url":"https://api.github.com/users/ukkokumpulainen/orgs","repos_url":"https://api.github.com/users/ukkokumpulainen/repos","events_url":"https://api.github.com/users/ukkokumpulainen/events{/privacy}","received_events_url":"https://api.github.com/users/ukkokumpulainen/received_events","type":"User","site_admin":false},"labels":[{"id":154414465,"url":"https://api.github.com/repos/mautic/mautic/labels/Feature%20Request","name":"Feature Request","color":"1d76db","default":false},{"id":326503221,"url":"https://api.github.com/repos/mautic/mautic/labels/Needs%20Documentation","name":"Needs Documentation","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mautic/mautic/milestones/11","html_url":"https://github.com/mautic/mautic/milestone/11","labels_url":"https://api.github.com/repos/mautic/mautic/milestones/11/labels","id":1465215,"number":11,"title":"2.0.0","description":"","creator":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars3.githubusercontent.com/u/63312?v=4","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":58,"state":"closed","created_at":"2015-12-17T16:23:20Z","updated_at":"2016-07-12T23:37:37Z","due_on":null,"closed_at":"2016-07-12T23:37:37Z"},"comments":4,"created_at":"2016-04-11T08:42:59Z","updated_at":"2018-03-08T14:53:53Z","closed_at":"2016-06-22T21:02:48Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mautic/mautic/pulls/1587","html_url":"https://github.com/mautic/mautic/pull/1587","diff_url":"https://github.com/mautic/mautic/pull/1587.diff","patch_url":"https://github.com/mautic/mautic/pull/1587.patch"},"body":"## Description\n\nThis PR adds support for php date in datetime filter. In current version you could select leads which have been active since 5 days ago by entering value \"Date Last Active, greater than or equal, -5 days\" but system changes this value into datetime.\n\nThis PR changes this behavior and handles the value as relative value if field contains + or - sign at the beginning of the input value.\n## Steps to reproduce\n## Steps to test\n\nPull changed code and create datetime field for lead. \nSet datetimevalue ie 5 days ago. \nCreate filter to test filtering with different values.\nNote as this is for relative time, so check that lead count in list changes based on time.\n"},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/371510212","html_url":"https://github.com/mautic/mautic/pull/1587#issuecomment-371510212","issue_url":"https://api.github.com/repos/mautic/mautic/issues/1587","id":371510212,"user":{"login":"npracht","id":14075239,"avatar_url":"https://avatars2.githubusercontent.com/u/14075239?v=4","gravatar_id":"","url":"https://api.github.com/users/npracht","html_url":"https://github.com/npracht","followers_url":"https://api.github.com/users/npracht/followers","following_url":"https://api.github.com/users/npracht/following{/other_user}","gists_url":"https://api.github.com/users/npracht/gists{/gist_id}","starred_url":"https://api.github.com/users/npracht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npracht/subscriptions","organizations_url":"https://api.github.com/users/npracht/orgs","repos_url":"https://api.github.com/users/npracht/repos","events_url":"https://api.github.com/users/npracht/events{/privacy}","received_events_url":"https://api.github.com/users/npracht/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T14:53:53Z","updated_at":"2018-03-08T14:53:53Z","author_association":"MEMBER","body":"That would be cool :)\r\nThanks a lot !"}}
{"actor":{"display_login":"npracht"}}