{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/8550","labels_url":"https://api.github.com/repos/golang/go/issues/8550/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/8550/comments","events_url":"https://api.github.com/repos/golang/go/issues/8550/events","html_url":"https://github.com/golang/go/issues/8550","id":51288358,"number":8550,"title":"time: uninitialized time object produce unexpected conversion for trying to convert timezone with \"func (t Time) In(loc *Location) Time\" ","user":{"login":"gopherbot","id":8566911,"avatar_url":"https://avatars.githubusercontent.com/u/8566911?v=3","gravatar_id":"","url":"https://api.github.com/users/gopherbot","html_url":"https://github.com/gopherbot","followers_url":"https://api.github.com/users/gopherbot/followers","following_url":"https://api.github.com/users/gopherbot/following{/other_user}","gists_url":"https://api.github.com/users/gopherbot/gists{/gist_id}","starred_url":"https://api.github.com/users/gopherbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopherbot/subscriptions","organizations_url":"https://api.github.com/users/gopherbot/orgs","repos_url":"https://api.github.com/users/gopherbot/repos","events_url":"https://api.github.com/users/gopherbot/events{/privacy}","received_events_url":"https://api.github.com/users/gopherbot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/golang/go/labels/repo-main","name":"repo-main","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-08-19T08:19:15Z","updated_at":"2015-02-05T05:46:59Z","closed_at":"2015-02-05T05:46:59Z","body":"by **nash.tsai**:\n\n<pre>What does 'go version' print?\ngo version go1.3.1 darwin/amd64\n\nWhat happened?\n\npackage main\n\nimport (\n\t&quot;time&quot;\n)\n\nfunc main() {\n\tvar t time.Time\n\tprintln (&quot;t:&quot;, t.String(), &quot;t in Local:&quot;, t.In(time.Local).String())\n}\n\noutput:\nt: 0001-01-01 00:00:00 +0000 UTC t in Local: 0001-01-01 08:26:44 +0826 LMT\n\nWhat should have happened instead?\n\nMy timezone is +8 so I would expect:  &quot;0001-01-01 08:00:00 +0800&quot;</pre>"}}