{"action":"opened","issue":{"url":"https://api.github.com/repos/HowardHinnant/date/issues/104","repository_url":"https://api.github.com/repos/HowardHinnant/date","labels_url":"https://api.github.com/repos/HowardHinnant/date/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/HowardHinnant/date/issues/104/comments","events_url":"https://api.github.com/repos/HowardHinnant/date/issues/104/events","html_url":"https://github.com/HowardHinnant/date/issues/104","id":192895495,"number":104,"title":"splitting the tz database downloading logic","user":{"login":"jkhoogland","id":12268,"avatar_url":"https://avatars.githubusercontent.com/u/12268?v=3","gravatar_id":"","url":"https://api.github.com/users/jkhoogland","html_url":"https://github.com/jkhoogland","followers_url":"https://api.github.com/users/jkhoogland/followers","following_url":"https://api.github.com/users/jkhoogland/following{/other_user}","gists_url":"https://api.github.com/users/jkhoogland/gists{/gist_id}","starred_url":"https://api.github.com/users/jkhoogland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkhoogland/subscriptions","organizations_url":"https://api.github.com/users/jkhoogland/orgs","repos_url":"https://api.github.com/users/jkhoogland/repos","events_url":"https://api.github.com/users/jkhoogland/events{/privacy}","received_events_url":"https://api.github.com/users/jkhoogland/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-01T16:30:58Z","updated_at":"2016-12-01T16:30:58Z","closed_at":null,"body":"Hi Howard,\r\nthanks again for this very nice library.\r\n\r\nI have two related questions.\r\nI could not find anything in the issues mailing lists related to this.\r\n\r\n1/ There is an enormous amount of logic in the tz library,\r\nthat deals with downloading the `tzdata` files etc. \r\nThis is obviously useful, but orthogonal to the core logic.\r\nAll the logic on untarring and unzipping has nothing to do with the tz logic, i would say...\r\n\r\nIt seems natural to separate this out.\r\nIt gives the user the flexibility to handle the updating of the `tzdata` automatically via your library,\r\nor have some seperate process that handles this, independently of the tz library.\r\n\r\n2/ Related to this, it would be nice to be able to specify the location of the `tzdata` directory programmatically. Currently it is all hardcoded in the code. Either being able to specify the path in `get_tzdb` or `reload_tzdb`, or being able to specify an environment variable with the path would be very useful.\r\n\r\nI am curious to your thoughts on this ?\r\nRegards\r\nJiri\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"jkhoogland"}}