{"action":"created","issue":{"url":"https://api.github.com/repos/moment/moment-timezone/issues/138","labels_url":"https://api.github.com/repos/moment/moment-timezone/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment-timezone/issues/138/comments","events_url":"https://api.github.com/repos/moment/moment-timezone/issues/138/events","html_url":"https://github.com/moment/moment-timezone/issues/138","id":45952043,"number":138,"title":"Get the browsers current time zone.","user":{"login":"niemyjski","id":1020579,"avatar_url":"https://avatars.githubusercontent.com/u/1020579?v=3","gravatar_id":"","url":"https://api.github.com/users/niemyjski","html_url":"https://github.com/niemyjski","followers_url":"https://api.github.com/users/niemyjski/followers","following_url":"https://api.github.com/users/niemyjski/following{/other_user}","gists_url":"https://api.github.com/users/niemyjski/gists{/gist_id}","starred_url":"https://api.github.com/users/niemyjski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niemyjski/subscriptions","organizations_url":"https://api.github.com/users/niemyjski/orgs","repos_url":"https://api.github.com/users/niemyjski/repos","events_url":"https://api.github.com/users/niemyjski/events{/privacy}","received_events_url":"https://api.github.com/users/niemyjski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/moment/moment-timezone/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2014-10-16T06:11:39Z","updated_at":"2015-11-18T21:54:19Z","closed_at":"2015-09-29T16:13:05Z","body":"Unless I'm missing something it seems that there is no way to get the current time zone?? I know there are third party libs to get the olson name.. I just thought this would be included.\r\n\r\n   moment.tz().zoneName()\r\n   moment.tz(new Date()).zoneName()\r\n   moment.tz(new Date()).zone()"},"comment":{"url":"https://api.github.com/repos/moment/moment-timezone/issues/comments/157876996","html_url":"https://github.com/moment/moment-timezone/issues/138#issuecomment-157876996","issue_url":"https://api.github.com/repos/moment/moment-timezone/issues/138","id":157876996,"user":{"login":"allan-bonadio","id":1013152,"avatar_url":"https://avatars.githubusercontent.com/u/1013152?v=3","gravatar_id":"","url":"https://api.github.com/users/allan-bonadio","html_url":"https://github.com/allan-bonadio","followers_url":"https://api.github.com/users/allan-bonadio/followers","following_url":"https://api.github.com/users/allan-bonadio/following{/other_user}","gists_url":"https://api.github.com/users/allan-bonadio/gists{/gist_id}","starred_url":"https://api.github.com/users/allan-bonadio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allan-bonadio/subscriptions","organizations_url":"https://api.github.com/users/allan-bonadio/orgs","repos_url":"https://api.github.com/users/allan-bonadio/repos","events_url":"https://api.github.com/users/allan-bonadio/events{/privacy}","received_events_url":"https://api.github.com/users/allan-bonadio/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T21:54:18Z","updated_at":"2015-11-18T21:54:18Z","body":"the great white hope:\r\nIntl.DateTimeFormat().resolvedOptions().timeZone\r\n\r\nUnfortunately I tried it with my 4 browsers.  Safari (today's) has no Intl, FF41 and IE11 have it but returns undefined (which is documented as 'the current timezone' thanx a lot).  Chrome has it but use 'resolved' in place of 'resolvedOptions()'.  So the only one that works, is the improperly implemented one.  :-("}}