{"action":"created","issue":{"url":"https://api.github.com/repos/opnsense/core/issues/242","labels_url":"https://api.github.com/repos/opnsense/core/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/opnsense/core/issues/242/comments","events_url":"https://api.github.com/repos/opnsense/core/issues/242/events","html_url":"https://github.com/opnsense/core/issues/242","id":93343809,"number":242,"title":"timezonelist is truncating some timezone names in system_general.php","user":{"login":"cbasolutions","id":7894078,"avatar_url":"https://avatars.githubusercontent.com/u/7894078?v=3","gravatar_id":"","url":"https://api.github.com/users/cbasolutions","html_url":"https://github.com/cbasolutions","followers_url":"https://api.github.com/users/cbasolutions/followers","following_url":"https://api.github.com/users/cbasolutions/following{/other_user}","gists_url":"https://api.github.com/users/cbasolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/cbasolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbasolutions/subscriptions","organizations_url":"https://api.github.com/users/cbasolutions/orgs","repos_url":"https://api.github.com/users/cbasolutions/repos","events_url":"https://api.github.com/users/cbasolutions/events{/privacy}","received_events_url":"https://api.github.com/users/cbasolutions/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opnsense/core/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/opnsense/core/milestones/2","html_url":"https://github.com/opnsense/core/milestones/16.1","labels_url":"https://api.github.com/repos/opnsense/core/milestones/2/labels","id":1127324,"number":2,"title":"16.1","description":"","creator":{"login":"fichtner","id":1915288,"avatar_url":"https://avatars.githubusercontent.com/u/1915288?v=3","gravatar_id":"","url":"https://api.github.com/users/fichtner","html_url":"https://github.com/fichtner","followers_url":"https://api.github.com/users/fichtner/followers","following_url":"https://api.github.com/users/fichtner/following{/other_user}","gists_url":"https://api.github.com/users/fichtner/gists{/gist_id}","starred_url":"https://api.github.com/users/fichtner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fichtner/subscriptions","organizations_url":"https://api.github.com/users/fichtner/orgs","repos_url":"https://api.github.com/users/fichtner/repos","events_url":"https://api.github.com/users/fichtner/events{/privacy}","received_events_url":"https://api.github.com/users/fichtner/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":2,"state":"open","created_at":"2015-05-24T09:32:10Z","updated_at":"2015-07-06T20:52:13Z","due_on":"2015-12-31T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-07-06T18:29:18Z","updated_at":"2015-07-06T20:53:08Z","closed_at":null,"body":"`$timezonelist = array_map(`\r\n`\tfunction ($path) { return str_replace('/usr/share/zoneinfo/', '', $path); },`\r\n`\tglob('/usr/share/zoneinfo/*/*')`\r\n`);` \r\n\r\nThis truncates several values and allows for erroneous selections in the drop down. Is there a reason to use this instead of the built-in PHP function: `DateTimeZone::listIdentifiers()`\r\n\r\nThe list: \r\n\r\n>America/Argentina/Buenos_Aires\r\n>America/Argentina/Catamarca\r\n>America/Argentina/Cordoba\r\n>America/Argentina/Jujuy\r\n>America/Argentina/La_Rioja\r\n>America/Argentina/Mendoza\r\n>America/Argentina/Rio_Gallegos\r\n>America/Argentina/Salta\r\n>America/Argentina/San_Juan\r\n>America/Argentina/San_Luis\r\n>America/Argentina/Tucuman\r\n>America/Argentina/Ushuaia\r\n>America/Indiana/Indianapolis\r\n>America/Indiana/Knox\r\n>America/Indiana/Marengo\r\n>America/Indiana/Petersburg\r\n>America/Indiana/Tell_City\r\n>America/Indiana/Vevay\r\n>America/Indiana/Vincennes\r\n>America/Indiana/Winamac\r\n>America/Kentucky/Louisville\r\n>America/Kentucky/Monticello\r\n>America/North_Dakota/Beulah\r\n>America/North_Dakota/Center\r\n>America/North_Dakota/New_Salem"},"comment":{"url":"https://api.github.com/repos/opnsense/core/issues/comments/118994888","html_url":"https://github.com/opnsense/core/issues/242#issuecomment-118994888","issue_url":"https://api.github.com/repos/opnsense/core/issues/242","id":118994888,"user":{"login":"fichtner","id":1915288,"avatar_url":"https://avatars.githubusercontent.com/u/1915288?v=3","gravatar_id":"","url":"https://api.github.com/users/fichtner","html_url":"https://github.com/fichtner","followers_url":"https://api.github.com/users/fichtner/followers","following_url":"https://api.github.com/users/fichtner/following{/other_user}","gists_url":"https://api.github.com/users/fichtner/gists{/gist_id}","starred_url":"https://api.github.com/users/fichtner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fichtner/subscriptions","organizations_url":"https://api.github.com/users/fichtner/orgs","repos_url":"https://api.github.com/users/fichtner/repos","events_url":"https://api.github.com/users/fichtner/events{/privacy}","received_events_url":"https://api.github.com/users/fichtner/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T20:53:08Z","updated_at":"2015-07-06T20:53:08Z","body":"Nice catch. No particular reason I guess. It went through a refactor, but it can go through one more... Will push a small cleanup that will make this easier to fix in one place only."}}