{"action":"created","issue":{"url":"https://api.github.com/repos/EugenMayer/docker-sync/issues/527","repository_url":"https://api.github.com/repos/EugenMayer/docker-sync","labels_url":"https://api.github.com/repos/EugenMayer/docker-sync/issues/527/labels{/name}","comments_url":"https://api.github.com/repos/EugenMayer/docker-sync/issues/527/comments","events_url":"https://api.github.com/repos/EugenMayer/docker-sync/issues/527/events","html_url":"https://github.com/EugenMayer/docker-sync/issues/527","id":293930824,"number":527,"title":"Bad Timezone on MacOSX High Sierra","user":{"login":"davellx","id":730121,"avatar_url":"https://avatars0.githubusercontent.com/u/730121?v=4","gravatar_id":"","url":"https://api.github.com/users/davellx","html_url":"https://github.com/davellx","followers_url":"https://api.github.com/users/davellx/followers","following_url":"https://api.github.com/users/davellx/following{/other_user}","gists_url":"https://api.github.com/users/davellx/gists{/gist_id}","starred_url":"https://api.github.com/users/davellx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davellx/subscriptions","organizations_url":"https://api.github.com/users/davellx/orgs","repos_url":"https://api.github.com/users/davellx/repos","events_url":"https://api.github.com/users/davellx/events{/privacy}","received_events_url":"https://api.github.com/users/davellx/received_events","type":"User","site_admin":false},"labels":[{"id":405022633,"url":"https://api.github.com/repos/EugenMayer/docker-sync/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-02T15:44:41Z","updated_at":"2018-02-05T09:51:04Z","closed_at":null,"author_association":"NONE","body":"### Error/Feature Requestion/Docs\r\nHello,\r\n\r\nI don't know if it will solve my sync problem with unison but I've noticed that the way timezone is passed to the sync containers is ```TZ=${TZ-`readlink /etc/localtime | sed -e 's,/usr/share/zoneinfo/,,'`}``` but on my MacOSX High Sierra 10.13.2 (17C205) the result of `readlink /etc/localtime` is `/var/db/timezone/zoneinfo/Europe/Paris`, so the timezone in the sync container is always wrong.\r\n\r\n### Docker Driver\r\nVersion 17.12.0-ce-mac49 (21995)\r\n\r\n### Sync strategy\r\nunison\r\n\r\n### OS\r\nOSX Version\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/EugenMayer/docker-sync/issues/comments/363033482","html_url":"https://github.com/EugenMayer/docker-sync/issues/527#issuecomment-363033482","issue_url":"https://api.github.com/repos/EugenMayer/docker-sync/issues/527","id":363033482,"user":{"login":"davellx","id":730121,"avatar_url":"https://avatars0.githubusercontent.com/u/730121?v=4","gravatar_id":"","url":"https://api.github.com/users/davellx","html_url":"https://github.com/davellx","followers_url":"https://api.github.com/users/davellx/followers","following_url":"https://api.github.com/users/davellx/following{/other_user}","gists_url":"https://api.github.com/users/davellx/gists{/gist_id}","starred_url":"https://api.github.com/users/davellx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davellx/subscriptions","organizations_url":"https://api.github.com/users/davellx/orgs","repos_url":"https://api.github.com/users/davellx/repos","events_url":"https://api.github.com/users/davellx/events{/privacy}","received_events_url":"https://api.github.com/users/davellx/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T09:51:04Z","updated_at":"2018-02-05T09:51:04Z","author_association":"NONE","body":"I get :\r\n```echo $(basename $(dirname `readlink /etc/localtime`))/$(basename `readlink /etc/localtime`)\r\nEurope/Paris\r\n```\r\nThat seems good ! :)"}}
{"actor":{"display_login":"davellx"}}