{"action":"closed","number":569,"pull_request":{"url":"https://api.github.com/repos/crest-cassia/oacis/pulls/569","id":167887590,"html_url":"https://github.com/crest-cassia/oacis/pull/569","diff_url":"https://github.com/crest-cassia/oacis/pull/569.diff","patch_url":"https://github.com/crest-cassia/oacis/pull/569.patch","issue_url":"https://api.github.com/repos/crest-cassia/oacis/issues/569","number":569,"state":"closed","locked":false,"title":"set config.timezone to system timezone","user":{"login":"yohm","id":718731,"avatar_url":"https://avatars0.githubusercontent.com/u/718731?v=4","gravatar_id":"","url":"https://api.github.com/users/yohm","html_url":"https://github.com/yohm","followers_url":"https://api.github.com/users/yohm/followers","following_url":"https://api.github.com/users/yohm/following{/other_user}","gists_url":"https://api.github.com/users/yohm/gists{/gist_id}","starred_url":"https://api.github.com/users/yohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohm/subscriptions","organizations_url":"https://api.github.com/users/yohm/orgs","repos_url":"https://api.github.com/users/yohm/repos","events_url":"https://api.github.com/users/yohm/events{/privacy}","received_events_url":"https://api.github.com/users/yohm/received_events","type":"User","site_admin":false},"body":"これまではUTCでの表示だったが、OACISを起動したシステムのタイムゾーンで表示するようにした。\r\n\r\n![image](https://user-images.githubusercontent.com/718731/35958358-ba7453b2-0ce3-11e8-82bf-be511335e4e0.png)\r\n\r\nシステムのタイムゾーンの文字列を得るには `rake time:zones:local` というrakeタスクを使うが、そこでの実装を参考にした。\r\n\r\nhttps://github.com/rails/rails/blob/v5.1.4/railties/lib/rails/tasks/misc.rake#L40\r\n\r\n`Time`クラスはシステムのタイムゾーンを取得し、そこから対象となる`ActiveSupport::TimeZone`のインスタンスを取得した。\r\n","created_at":"2018-02-08T06:26:34Z","updated_at":"2018-02-08T08:16:13Z","closed_at":"2018-02-08T08:16:13Z","merged_at":"2018-02-08T08:16:13Z","merge_commit_sha":"7ba8920617a61c0f1c366ac311c8da8bd1fc1c96","assignee":{"login":"yohm","id":718731,"avatar_url":"https://avatars0.githubusercontent.com/u/718731?v=4","gravatar_id":"","url":"https://api.github.com/users/yohm","html_url":"https://github.com/yohm","followers_url":"https://api.github.com/users/yohm/followers","following_url":"https://api.github.com/users/yohm/following{/other_user}","gists_url":"https://api.github.com/users/yohm/gists{/gist_id}","starred_url":"https://api.github.com/users/yohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohm/subscriptions","organizations_url":"https://api.github.com/users/yohm/orgs","repos_url":"https://api.github.com/users/yohm/repos","events_url":"https://api.github.com/users/yohm/events{/privacy}","received_events_url":"https://api.github.com/users/yohm/received_events","type":"User","site_admin":false},"assignees":[{"login":"yohm","id":718731,"avatar_url":"https://avatars0.githubusercontent.com/u/718731?v=4","gravatar_id":"","url":"https://api.github.com/users/yohm","html_url":"https://github.com/yohm","followers_url":"https://api.github.com/users/yohm/followers","following_url":"https://api.github.com/users/yohm/following{/other_user}","gists_url":"https://api.github.com/users/yohm/gists{/gist_id}","starred_url":"https://api.github.com/users/yohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohm/subscriptions","organizations_url":"https://api.github.com/users/yohm/orgs","repos_url":"https://api.github.com/users/yohm/repos","events_url":"https://api.github.com/users/yohm/events{/privacy}","received_events_url":"https://api.github.com/users/yohm/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"takeshi-uchitane","id":5600507,"avatar_url":"https://avatars1.githubusercontent.com/u/5600507?v=4","gravatar_id":"","url":"https://api.github.com/users/takeshi-uchitane","html_url":"https://github.com/takeshi-uchitane","followers_url":"https://api.github.com/users/takeshi-uchitane/followers","following_url":"https://api.github.com/users/takeshi-uchitane/following{/other_user}","gists_url":"https://api.github.com/users/takeshi-uchitane/gists{/gist_id}","starred_url":"https://api.github.com/users/takeshi-uchitane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takeshi-uchitane/subscriptions","organizations_url":"https://api.github.com/users/takeshi-uchitane/orgs","repos_url":"https://api.github.com/users/takeshi-uchitane/repos","events_url":"https://api.github.com/users/takeshi-uchitane/events{/privacy}","received_events_url":"https://api.github.com/users/takeshi-uchitane/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":{"url":"https://api.github.com/repos/crest-cassia/oacis/milestones/29","html_url":"https://github.com/crest-cassia/oacis/milestone/29","labels_url":"https://api.github.com/repos/crest-cassia/oacis/milestones/29/labels","id":2528355,"number":29,"title":"v3.0.0","description":"major version up including\r\n\r\n- a brand-new UI\r\n- improved worker performance\r\n- upgrading Rails 5 and dependent gems\r\n- upgrading MongoDB\r\n","creator":{"login":"yohm","id":718731,"avatar_url":"https://avatars0.githubusercontent.com/u/718731?v=4","gravatar_id":"","url":"https://api.github.com/users/yohm","html_url":"https://github.com/yohm","followers_url":"https://api.github.com/users/yohm/followers","following_url":"https://api.github.com/users/yohm/following{/other_user}","gists_url":"https://api.github.com/users/yohm/gists{/gist_id}","starred_url":"https://api.github.com/users/yohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohm/subscriptions","organizations_url":"https://api.github.com/users/yohm/orgs","repos_url":"https://api.github.com/users/yohm/repos","events_url":"https://api.github.com/users/yohm/events{/privacy}","received_events_url":"https://api.github.com/users/yohm/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":17,"state":"open","created_at":"2017-05-18T03:37:07Z","updated_at":"2018-02-08T08:16:13Z","due_on":"2018-04-01T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/crest-cassia/oacis/pulls/569/commits","review_comments_url":"https://api.github.com/repos/crest-cassia/oacis/pulls/569/comments","review_comment_url":"https://api.github.com/repos/crest-cassia/oacis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crest-cassia/oacis/issues/569/comments","statuses_url":"https://api.github.com/repos/crest-cassia/oacis/statuses/6529107aa221af97071d0e8f4b935bf4ab447b74","head":{"label":"crest-cassia:set_timezone","ref":"set_timezone","sha":"6529107aa221af97071d0e8f4b935bf4ab447b74","user":{"login":"crest-cassia","id":5803360,"avatar_url":"https://avatars2.githubusercontent.com/u/5803360?v=4","gravatar_id":"","url":"https://api.github.com/users/crest-cassia","html_url":"https://github.com/crest-cassia","followers_url":"https://api.github.com/users/crest-cassia/followers","following_url":"https://api.github.com/users/crest-cassia/following{/other_user}","gists_url":"https://api.github.com/users/crest-cassia/gists{/gist_id}","starred_url":"https://api.github.com/users/crest-cassia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crest-cassia/subscriptions","organizations_url":"https://api.github.com/users/crest-cassia/orgs","repos_url":"https://api.github.com/users/crest-cassia/repos","events_url":"https://api.github.com/users/crest-cassia/events{/privacy}","received_events_url":"https://api.github.com/users/crest-cassia/received_events","type":"Organization","site_admin":false},"repo":{"id":13269212,"name":"oacis","full_name":"crest-cassia/oacis","owner":{"login":"crest-cassia","id":5803360,"avatar_url":"https://avatars2.githubusercontent.com/u/5803360?v=4","gravatar_id":"","url":"https://api.github.com/users/crest-cassia","html_url":"https://github.com/crest-cassia","followers_url":"https://api.github.com/users/crest-cassia/followers","following_url":"https://api.github.com/users/crest-cassia/following{/other_user}","gists_url":"https://api.github.com/users/crest-cassia/gists{/gist_id}","starred_url":"https://api.github.com/users/crest-cassia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crest-cassia/subscriptions","organizations_url":"https://api.github.com/users/crest-cassia/orgs","repos_url":"https://api.github.com/users/crest-cassia/repos","events_url":"https://api.github.com/users/crest-cassia/events{/privacy}","received_events_url":"https://api.github.com/users/crest-cassia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crest-cassia/oacis","description":null,"fork":false,"url":"https://api.github.com/repos/crest-cassia/oacis","forks_url":"https://api.github.com/repos/crest-cassia/oacis/forks","keys_url":"https://api.github.com/repos/crest-cassia/oacis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crest-cassia/oacis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crest-cassia/oacis/teams","hooks_url":"https://api.github.com/repos/crest-cassia/oacis/hooks","issue_events_url":"https://api.github.com/repos/crest-cassia/oacis/issues/events{/number}","events_url":"https://api.github.com/repos/crest-cassia/oacis/events","assignees_url":"https://api.github.com/repos/crest-cassia/oacis/assignees{/user}","branches_url":"https://api.github.com/repos/crest-cassia/oacis/branches{/branch}","tags_url":"https://api.github.com/repos/crest-cassia/oacis/tags","blobs_url":"https://api.github.com/repos/crest-cassia/oacis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crest-cassia/oacis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crest-cassia/oacis/git/refs{/sha}","trees_url":"https://api.github.com/repos/crest-cassia/oacis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crest-cassia/oacis/statuses/{sha}","languages_url":"https://api.github.com/repos/crest-cassia/oacis/languages","stargazers_url":"https://api.github.com/repos/crest-cassia/oacis/stargazers","contributors_url":"https://api.github.com/repos/crest-cassia/oacis/contributors","subscribers_url":"https://api.github.com/repos/crest-cassia/oacis/subscribers","subscription_url":"https://api.github.com/repos/crest-cassia/oacis/subscription","commits_url":"https://api.github.com/repos/crest-cassia/oacis/commits{/sha}","git_commits_url":"https://api.github.com/repos/crest-cassia/oacis/git/commits{/sha}","comments_url":"https://api.github.com/repos/crest-cassia/oacis/comments{/number}","issue_comment_url":"https://api.github.com/repos/crest-cassia/oacis/issues/comments{/number}","contents_url":"https://api.github.com/repos/crest-cassia/oacis/contents/{+path}","compare_url":"https://api.github.com/repos/crest-cassia/oacis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crest-cassia/oacis/merges","archive_url":"https://api.github.com/repos/crest-cassia/oacis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crest-cassia/oacis/downloads","issues_url":"https://api.github.com/repos/crest-cassia/oacis/issues{/number}","pulls_url":"https://api.github.com/repos/crest-cassia/oacis/pulls{/number}","milestones_url":"https://api.github.com/repos/crest-cassia/oacis/milestones{/number}","notifications_url":"https://api.github.com/repos/crest-cassia/oacis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crest-cassia/oacis/labels{/name}","releases_url":"https://api.github.com/repos/crest-cassia/oacis/releases{/id}","deployments_url":"https://api.github.com/repos/crest-cassia/oacis/deployments","created_at":"2013-10-02T11:20:13Z","updated_at":"2018-01-12T11:44:43Z","pushed_at":"2018-02-08T08:16:13Z","git_url":"git://github.com/crest-cassia/oacis.git","ssh_url":"git@github.com:crest-cassia/oacis.git","clone_url":"https://github.com/crest-cassia/oacis.git","svn_url":"https://github.com/crest-cassia/oacis","homepage":"http://crest-cassia.github.io/oacis/","size":10922,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":17,"license":null,"forks":4,"open_issues":17,"watchers":20,"default_branch":"develop"}},"base":{"label":"crest-cassia:develop","ref":"develop","sha":"0f42171f4e02657cfedf1a98f9fb65d535102a15","user":{"login":"crest-cassia","id":5803360,"avatar_url":"https://avatars2.githubusercontent.com/u/5803360?v=4","gravatar_id":"","url":"https://api.github.com/users/crest-cassia","html_url":"https://github.com/crest-cassia","followers_url":"https://api.github.com/users/crest-cassia/followers","following_url":"https://api.github.com/users/crest-cassia/following{/other_user}","gists_url":"https://api.github.com/users/crest-cassia/gists{/gist_id}","starred_url":"https://api.github.com/users/crest-cassia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crest-cassia/subscriptions","organizations_url":"https://api.github.com/users/crest-cassia/orgs","repos_url":"https://api.github.com/users/crest-cassia/repos","events_url":"https://api.github.com/users/crest-cassia/events{/privacy}","received_events_url":"https://api.github.com/users/crest-cassia/received_events","type":"Organization","site_admin":false},"repo":{"id":13269212,"name":"oacis","full_name":"crest-cassia/oacis","owner":{"login":"crest-cassia","id":5803360,"avatar_url":"https://avatars2.githubusercontent.com/u/5803360?v=4","gravatar_id":"","url":"https://api.github.com/users/crest-cassia","html_url":"https://github.com/crest-cassia","followers_url":"https://api.github.com/users/crest-cassia/followers","following_url":"https://api.github.com/users/crest-cassia/following{/other_user}","gists_url":"https://api.github.com/users/crest-cassia/gists{/gist_id}","starred_url":"https://api.github.com/users/crest-cassia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crest-cassia/subscriptions","organizations_url":"https://api.github.com/users/crest-cassia/orgs","repos_url":"https://api.github.com/users/crest-cassia/repos","events_url":"https://api.github.com/users/crest-cassia/events{/privacy}","received_events_url":"https://api.github.com/users/crest-cassia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crest-cassia/oacis","description":null,"fork":false,"url":"https://api.github.com/repos/crest-cassia/oacis","forks_url":"https://api.github.com/repos/crest-cassia/oacis/forks","keys_url":"https://api.github.com/repos/crest-cassia/oacis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crest-cassia/oacis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crest-cassia/oacis/teams","hooks_url":"https://api.github.com/repos/crest-cassia/oacis/hooks","issue_events_url":"https://api.github.com/repos/crest-cassia/oacis/issues/events{/number}","events_url":"https://api.github.com/repos/crest-cassia/oacis/events","assignees_url":"https://api.github.com/repos/crest-cassia/oacis/assignees{/user}","branches_url":"https://api.github.com/repos/crest-cassia/oacis/branches{/branch}","tags_url":"https://api.github.com/repos/crest-cassia/oacis/tags","blobs_url":"https://api.github.com/repos/crest-cassia/oacis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crest-cassia/oacis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crest-cassia/oacis/git/refs{/sha}","trees_url":"https://api.github.com/repos/crest-cassia/oacis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crest-cassia/oacis/statuses/{sha}","languages_url":"https://api.github.com/repos/crest-cassia/oacis/languages","stargazers_url":"https://api.github.com/repos/crest-cassia/oacis/stargazers","contributors_url":"https://api.github.com/repos/crest-cassia/oacis/contributors","subscribers_url":"https://api.github.com/repos/crest-cassia/oacis/subscribers","subscription_url":"https://api.github.com/repos/crest-cassia/oacis/subscription","commits_url":"https://api.github.com/repos/crest-cassia/oacis/commits{/sha}","git_commits_url":"https://api.github.com/repos/crest-cassia/oacis/git/commits{/sha}","comments_url":"https://api.github.com/repos/crest-cassia/oacis/comments{/number}","issue_comment_url":"https://api.github.com/repos/crest-cassia/oacis/issues/comments{/number}","contents_url":"https://api.github.com/repos/crest-cassia/oacis/contents/{+path}","compare_url":"https://api.github.com/repos/crest-cassia/oacis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crest-cassia/oacis/merges","archive_url":"https://api.github.com/repos/crest-cassia/oacis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crest-cassia/oacis/downloads","issues_url":"https://api.github.com/repos/crest-cassia/oacis/issues{/number}","pulls_url":"https://api.github.com/repos/crest-cassia/oacis/pulls{/number}","milestones_url":"https://api.github.com/repos/crest-cassia/oacis/milestones{/number}","notifications_url":"https://api.github.com/repos/crest-cassia/oacis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crest-cassia/oacis/labels{/name}","releases_url":"https://api.github.com/repos/crest-cassia/oacis/releases{/id}","deployments_url":"https://api.github.com/repos/crest-cassia/oacis/deployments","created_at":"2013-10-02T11:20:13Z","updated_at":"2018-01-12T11:44:43Z","pushed_at":"2018-02-08T08:16:13Z","git_url":"git://github.com/crest-cassia/oacis.git","ssh_url":"git@github.com:crest-cassia/oacis.git","clone_url":"https://github.com/crest-cassia/oacis.git","svn_url":"https://github.com/crest-cassia/oacis","homepage":"http://crest-cassia.github.io/oacis/","size":10922,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":17,"license":null,"forks":4,"open_issues":17,"watchers":20,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/crest-cassia/oacis/pulls/569"},"html":{"href":"https://github.com/crest-cassia/oacis/pull/569"},"issue":{"href":"https://api.github.com/repos/crest-cassia/oacis/issues/569"},"comments":{"href":"https://api.github.com/repos/crest-cassia/oacis/issues/569/comments"},"review_comments":{"href":"https://api.github.com/repos/crest-cassia/oacis/pulls/569/comments"},"review_comment":{"href":"https://api.github.com/repos/crest-cassia/oacis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crest-cassia/oacis/pulls/569/commits"},"statuses":{"href":"https://api.github.com/repos/crest-cassia/oacis/statuses/6529107aa221af97071d0e8f4b935bf4ab447b74"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"yohm","id":718731,"avatar_url":"https://avatars0.githubusercontent.com/u/718731?v=4","gravatar_id":"","url":"https://api.github.com/users/yohm","html_url":"https://github.com/yohm","followers_url":"https://api.github.com/users/yohm/followers","following_url":"https://api.github.com/users/yohm/following{/other_user}","gists_url":"https://api.github.com/users/yohm/gists{/gist_id}","starred_url":"https://api.github.com/users/yohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohm/subscriptions","organizations_url":"https://api.github.com/users/yohm/orgs","repos_url":"https://api.github.com/users/yohm/repos","events_url":"https://api.github.com/users/yohm/events{/privacy}","received_events_url":"https://api.github.com/users/yohm/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":7,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"yohm"}}