{"action":"created","issue":{"url":"https://api.github.com/repos/stumpwm/stumpwm/issues/476","repository_url":"https://api.github.com/repos/stumpwm/stumpwm","labels_url":"https://api.github.com/repos/stumpwm/stumpwm/issues/476/labels{/name}","comments_url":"https://api.github.com/repos/stumpwm/stumpwm/issues/476/comments","events_url":"https://api.github.com/repos/stumpwm/stumpwm/issues/476/events","html_url":"https://github.com/stumpwm/stumpwm/issues/476","id":340059024,"node_id":"MDU6SXNzdWUzNDAwNTkwMjQ=","number":476,"title":"StumpWM doesn't notice timezone changes","user":{"login":"sjl","id":58365,"node_id":"MDQ6VXNlcjU4MzY1","avatar_url":"https://avatars0.githubusercontent.com/u/58365?v=4","gravatar_id":"","url":"https://api.github.com/users/sjl","html_url":"https://github.com/sjl","followers_url":"https://api.github.com/users/sjl/followers","following_url":"https://api.github.com/users/sjl/following{/other_user}","gists_url":"https://api.github.com/users/sjl/gists{/gist_id}","starred_url":"https://api.github.com/users/sjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjl/subscriptions","organizations_url":"https://api.github.com/users/sjl/orgs","repos_url":"https://api.github.com/users/sjl/repos","events_url":"https://api.github.com/users/sjl/events{/privacy}","received_events_url":"https://api.github.com/users/sjl/received_events","type":"User","site_admin":false},"labels":[{"id":919859409,"node_id":"MDU6TGFiZWw5MTk4NTk0MDk=","url":"https://api.github.com/repos/stumpwm/stumpwm/labels/good-first-issue","name":"good-first-issue","color":"f2f774","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-11T01:22:47Z","updated_at":"2018-07-23T19:15:39Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I ran into this today and it took a bit to track down.  I figured I'd make this issue even if it doesn't end up being fixed in StumpWM so other people will find it when they search.\r\n\r\nChanging the system timezone (e.g. with `sudo dkpg-reconfigure tzdata`) doesn't change the time displayed in the StumpWM modeline.  This is because SBCL's `get-decoded-time` (and the other functions StumpWM uses instead of it, for some reason) uses `localtime_r` which according to `man 3 localtime` doesn't have to call `tzset` before each invocation (probably for performance).\r\n\r\nI'm not sure if it's worth changing StumpWM to run `tzset` at certain times to pick up on timezone changes, or whether the answer is to just have people run `(cffi:foreign-funcall \"tzset\")` to manually fix it whenever they travel."},"comment":{"url":"https://api.github.com/repos/stumpwm/stumpwm/issues/comments/407169956","html_url":"https://github.com/stumpwm/stumpwm/issues/476#issuecomment-407169956","issue_url":"https://api.github.com/repos/stumpwm/stumpwm/issues/476","id":407169956,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzE2OTk1Ng==","user":{"login":"sjl","id":58365,"node_id":"MDQ6VXNlcjU4MzY1","avatar_url":"https://avatars0.githubusercontent.com/u/58365?v=4","gravatar_id":"","url":"https://api.github.com/users/sjl","html_url":"https://github.com/sjl","followers_url":"https://api.github.com/users/sjl/followers","following_url":"https://api.github.com/users/sjl/following{/other_user}","gists_url":"https://api.github.com/users/sjl/gists{/gist_id}","starred_url":"https://api.github.com/users/sjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjl/subscriptions","organizations_url":"https://api.github.com/users/sjl/orgs","repos_url":"https://api.github.com/users/sjl/repos","events_url":"https://api.github.com/users/sjl/events{/privacy}","received_events_url":"https://api.github.com/users/sjl/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T19:15:39Z","updated_at":"2018-07-23T19:15:39Z","author_association":"CONTRIBUTOR","body":"I'm happy to send a PR to add the function/docs, unless you'd like me to leave it for someone else to take as a simple first PR."}}
{"actor":{"display_login":"sjl"}}