{"action":"created","issue":{"url":"https://api.github.com/repos/smarthomeNG/smarthome/issues/179","repository_url":"https://api.github.com/repos/smarthomeNG/smarthome","labels_url":"https://api.github.com/repos/smarthomeNG/smarthome/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/smarthomeNG/smarthome/issues/179/comments","events_url":"https://api.github.com/repos/smarthomeNG/smarthome/issues/179/events","html_url":"https://github.com/smarthomeNG/smarthome/issues/179","id":195199139,"number":179,"title":"inconsistent next execution time in scheduler","user":{"login":"4d4mu","id":23149334,"avatar_url":"https://avatars0.githubusercontent.com/u/23149334?v=4","gravatar_id":"","url":"https://api.github.com/users/4d4mu","html_url":"https://github.com/4d4mu","followers_url":"https://api.github.com/users/4d4mu/followers","following_url":"https://api.github.com/users/4d4mu/following{/other_user}","gists_url":"https://api.github.com/users/4d4mu/gists{/gist_id}","starred_url":"https://api.github.com/users/4d4mu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4d4mu/subscriptions","organizations_url":"https://api.github.com/users/4d4mu/orgs","repos_url":"https://api.github.com/users/4d4mu/repos","events_url":"https://api.github.com/users/4d4mu/events{/privacy}","received_events_url":"https://api.github.com/users/4d4mu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bmxp","id":3002409,"avatar_url":"https://avatars1.githubusercontent.com/u/3002409?v=4","gravatar_id":"","url":"https://api.github.com/users/bmxp","html_url":"https://github.com/bmxp","followers_url":"https://api.github.com/users/bmxp/followers","following_url":"https://api.github.com/users/bmxp/following{/other_user}","gists_url":"https://api.github.com/users/bmxp/gists{/gist_id}","starred_url":"https://api.github.com/users/bmxp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmxp/subscriptions","organizations_url":"https://api.github.com/users/bmxp/orgs","repos_url":"https://api.github.com/users/bmxp/repos","events_url":"https://api.github.com/users/bmxp/events{/privacy}","received_events_url":"https://api.github.com/users/bmxp/received_events","type":"User","site_admin":false},"assignees":[{"login":"bmxp","id":3002409,"avatar_url":"https://avatars1.githubusercontent.com/u/3002409?v=4","gravatar_id":"","url":"https://api.github.com/users/bmxp","html_url":"https://github.com/bmxp","followers_url":"https://api.github.com/users/bmxp/followers","following_url":"https://api.github.com/users/bmxp/following{/other_user}","gists_url":"https://api.github.com/users/bmxp/gists{/gist_id}","starred_url":"https://api.github.com/users/bmxp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmxp/subscriptions","organizations_url":"https://api.github.com/users/bmxp/orgs","repos_url":"https://api.github.com/users/bmxp/repos","events_url":"https://api.github.com/users/bmxp/events{/privacy}","received_events_url":"https://api.github.com/users/bmxp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-12-13T09:16:45Z","updated_at":"2017-10-21T12:10:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Scheduler in backend plugin shows next execution time in:\r\n- local time when `cycle` used\r\n- local time when basic `crontab` used\r\n- UTC when `crontab` with `sunrise`/`sunset` used\r\n\r\nI'm not sure if it is backend or scheduler issue"},"comment":{"url":"https://api.github.com/repos/smarthomeNG/smarthome/issues/comments/338388301","html_url":"https://github.com/smarthomeNG/smarthome/issues/179#issuecomment-338388301","issue_url":"https://api.github.com/repos/smarthomeNG/smarthome/issues/179","id":338388301,"user":{"login":"ohinckel","id":717217,"avatar_url":"https://avatars0.githubusercontent.com/u/717217?v=4","gravatar_id":"","url":"https://api.github.com/users/ohinckel","html_url":"https://github.com/ohinckel","followers_url":"https://api.github.com/users/ohinckel/followers","following_url":"https://api.github.com/users/ohinckel/following{/other_user}","gists_url":"https://api.github.com/users/ohinckel/gists{/gist_id}","starred_url":"https://api.github.com/users/ohinckel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohinckel/subscriptions","organizations_url":"https://api.github.com/users/ohinckel/orgs","repos_url":"https://api.github.com/users/ohinckel/repos","events_url":"https://api.github.com/users/ohinckel/events{/privacy}","received_events_url":"https://api.github.com/users/ohinckel/received_events","type":"User","site_admin":false},"created_at":"2017-10-21T12:10:58Z","updated_at":"2017-10-21T12:10:58Z","author_association":"MEMBER","body":"I guess it has something to do with the `datetime` objects created in `lib.Orb` (see [set](https://github.com/smarthomeNG/smarthome/blob/develop/lib/orb.py#L71) or [rise()](https://github.com/smarthomeNG/smarthome/blob/develop/lib/orb.py#L57) methods). There's always `UTC` used (e.g. `datetime.datetime.utcnow()`).\r\n"}}
{"actor":{"display_login":"ohinckel"}}