{"action":"created","issue":{"url":"https://api.github.com/repos/emoncms/emoncms/issues/336","labels_url":"https://api.github.com/repos/emoncms/emoncms/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/emoncms/emoncms/issues/336/comments","events_url":"https://api.github.com/repos/emoncms/emoncms/issues/336/events","html_url":"https://github.com/emoncms/emoncms/pull/336","id":84275454,"number":336,"title":"Fix Min Max processors + Merge with 8.5 latest","user":{"login":"chaveiro","id":4527135,"avatar_url":"https://avatars.githubusercontent.com/u/4527135?v=3","gravatar_id":"","url":"https://api.github.com/users/chaveiro","html_url":"https://github.com/chaveiro","followers_url":"https://api.github.com/users/chaveiro/followers","following_url":"https://api.github.com/users/chaveiro/following{/other_user}","gists_url":"https://api.github.com/users/chaveiro/gists{/gist_id}","starred_url":"https://api.github.com/users/chaveiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaveiro/subscriptions","organizations_url":"https://api.github.com/users/chaveiro/orgs","repos_url":"https://api.github.com/users/chaveiro/repos","events_url":"https://api.github.com/users/chaveiro/events{/privacy}","received_events_url":"https://api.github.com/users/chaveiro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-03T00:15:34Z","updated_at":"2015-06-03T11:33:18Z","closed_at":"2015-06-03T06:01:42Z","pull_request":{"url":"https://api.github.com/repos/emoncms/emoncms/pulls/336","html_url":"https://github.com/emoncms/emoncms/pull/336","diff_url":"https://github.com/emoncms/emoncms/pull/336.diff","patch_url":"https://github.com/emoncms/emoncms/pull/336.patch"},"body":"Refactored some code from 8.5 -> Instead of if (!is_numeric($lastvalue['time'])) in feed_model.php i fixed the reason it may not be.\r\nAlso some minor fix on getstartday function on process_model.php"},"comment":{"url":"https://api.github.com/repos/emoncms/emoncms/issues/comments/108319011","html_url":"https://github.com/emoncms/emoncms/pull/336#issuecomment-108319011","issue_url":"https://api.github.com/repos/emoncms/emoncms/issues/336","id":108319011,"user":{"login":"chaveiro","id":4527135,"avatar_url":"https://avatars.githubusercontent.com/u/4527135?v=3","gravatar_id":"","url":"https://api.github.com/users/chaveiro","html_url":"https://github.com/chaveiro","followers_url":"https://api.github.com/users/chaveiro/followers","following_url":"https://api.github.com/users/chaveiro/following{/other_user}","gists_url":"https://api.github.com/users/chaveiro/gists{/gist_id}","starred_url":"https://api.github.com/users/chaveiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaveiro/subscriptions","organizations_url":"https://api.github.com/users/chaveiro/orgs","repos_url":"https://api.github.com/users/chaveiro/repos","events_url":"https://api.github.com/users/chaveiro/events{/privacy}","received_events_url":"https://api.github.com/users/chaveiro/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T11:33:18Z","updated_at":"2015-06-03T11:33:18Z","body":"The fix was applied on some other lines that get the updated time from database table feeds. Search for the comment: // feeds table is date time, convert it to epoh\r\nThis ensures all 'lastupdate' variables (and redis cache) always gets the epoh time format value and not a string in datetime format that the if was used for fixing.\r\n\r\nThe fix in process_model is about other issue, the createFromFormat U was giving an error on ->settimezone if the epoh number was passed as a string type. It requires an int var type.\r\n\r\n"}}