{"action":"closed","number":2426,"pull_request":{"url":"https://api.github.com/repos/sferik/rails_admin/pulls/2426","id":47183260,"html_url":"https://github.com/sferik/rails_admin/pull/2426","diff_url":"https://github.com/sferik/rails_admin/pull/2426.diff","patch_url":"https://github.com/sferik/rails_admin/pull/2426.patch","issue_url":"https://api.github.com/repos/sferik/rails_admin/issues/2426","number":2426,"state":"closed","locked":false,"title":"Added spec for datetime field","user":{"login":"billguy","id":640038,"avatar_url":"https://avatars.githubusercontent.com/u/640038?v=3","gravatar_id":"","url":"https://api.github.com/users/billguy","html_url":"https://github.com/billguy","followers_url":"https://api.github.com/users/billguy/followers","following_url":"https://api.github.com/users/billguy/following{/other_user}","gists_url":"https://api.github.com/users/billguy/gists{/gist_id}","starred_url":"https://api.github.com/users/billguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billguy/subscriptions","organizations_url":"https://api.github.com/users/billguy/orgs","repos_url":"https://api.github.com/users/billguy/repos","events_url":"https://api.github.com/users/billguy/events{/privacy}","received_events_url":"https://api.github.com/users/billguy/received_events","type":"User","site_admin":false},"body":"Rails 4.2.3\r\nruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]\r\nOSX 10.11\r\n\r\nIt seems after v0.6.8 that when a custom Rails config.time_zone is used and you save a datetime field without altering it, RailsAdmin appears to mutate the value of the field. I'm not certain why this is happening. It does appear to work correctly when config.time_zone is not set.","created_at":"2015-10-08T17:41:00Z","updated_at":"2015-11-15T09:43:00Z","closed_at":"2015-11-15T09:43:00Z","merged_at":null,"merge_commit_sha":"7d6b09081565ebcb3fc9f7d16bd1c8a5f0fe226b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sferik/rails_admin/pulls/2426/commits","review_comments_url":"https://api.github.com/repos/sferik/rails_admin/pulls/2426/comments","review_comment_url":"https://api.github.com/repos/sferik/rails_admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sferik/rails_admin/issues/2426/comments","statuses_url":"https://api.github.com/repos/sferik/rails_admin/statuses/54bb35a19962dafbdfc8c0faadb14d6046c73ea9","head":{"label":"billguy:datetime_field_bug","ref":"datetime_field_bug","sha":"54bb35a19962dafbdfc8c0faadb14d6046c73ea9","user":{"login":"billguy","id":640038,"avatar_url":"https://avatars.githubusercontent.com/u/640038?v=3","gravatar_id":"","url":"https://api.github.com/users/billguy","html_url":"https://github.com/billguy","followers_url":"https://api.github.com/users/billguy/followers","following_url":"https://api.github.com/users/billguy/following{/other_user}","gists_url":"https://api.github.com/users/billguy/gists{/gist_id}","starred_url":"https://api.github.com/users/billguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billguy/subscriptions","organizations_url":"https://api.github.com/users/billguy/orgs","repos_url":"https://api.github.com/users/billguy/repos","events_url":"https://api.github.com/users/billguy/events{/privacy}","received_events_url":"https://api.github.com/users/billguy/received_events","type":"User","site_admin":false},"repo":{"id":43905894,"name":"rails_admin","full_name":"billguy/rails_admin","owner":{"login":"billguy","id":640038,"avatar_url":"https://avatars.githubusercontent.com/u/640038?v=3","gravatar_id":"","url":"https://api.github.com/users/billguy","html_url":"https://github.com/billguy","followers_url":"https://api.github.com/users/billguy/followers","following_url":"https://api.github.com/users/billguy/following{/other_user}","gists_url":"https://api.github.com/users/billguy/gists{/gist_id}","starred_url":"https://api.github.com/users/billguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billguy/subscriptions","organizations_url":"https://api.github.com/users/billguy/orgs","repos_url":"https://api.github.com/users/billguy/repos","events_url":"https://api.github.com/users/billguy/events{/privacy}","received_events_url":"https://api.github.com/users/billguy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/billguy/rails_admin","description":"RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data","fork":true,"url":"https://api.github.com/repos/billguy/rails_admin","forks_url":"https://api.github.com/repos/billguy/rails_admin/forks","keys_url":"https://api.github.com/repos/billguy/rails_admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/billguy/rails_admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/billguy/rails_admin/teams","hooks_url":"https://api.github.com/repos/billguy/rails_admin/hooks","issue_events_url":"https://api.github.com/repos/billguy/rails_admin/issues/events{/number}","events_url":"https://api.github.com/repos/billguy/rails_admin/events","assignees_url":"https://api.github.com/repos/billguy/rails_admin/assignees{/user}","branches_url":"https://api.github.com/repos/billguy/rails_admin/branches{/branch}","tags_url":"https://api.github.com/repos/billguy/rails_admin/tags","blobs_url":"https://api.github.com/repos/billguy/rails_admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/billguy/rails_admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/billguy/rails_admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/billguy/rails_admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/billguy/rails_admin/statuses/{sha}","languages_url":"https://api.github.com/repos/billguy/rails_admin/languages","stargazers_url":"https://api.github.com/repos/billguy/rails_admin/stargazers","contributors_url":"https://api.github.com/repos/billguy/rails_admin/contributors","subscribers_url":"https://api.github.com/repos/billguy/rails_admin/subscribers","subscription_url":"https://api.github.com/repos/billguy/rails_admin/subscription","commits_url":"https://api.github.com/repos/billguy/rails_admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/billguy/rails_admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/billguy/rails_admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/billguy/rails_admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/billguy/rails_admin/contents/{+path}","compare_url":"https://api.github.com/repos/billguy/rails_admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/billguy/rails_admin/merges","archive_url":"https://api.github.com/repos/billguy/rails_admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/billguy/rails_admin/downloads","issues_url":"https://api.github.com/repos/billguy/rails_admin/issues{/number}","pulls_url":"https://api.github.com/repos/billguy/rails_admin/pulls{/number}","milestones_url":"https://api.github.com/repos/billguy/rails_admin/milestones{/number}","notifications_url":"https://api.github.com/repos/billguy/rails_admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/billguy/rails_admin/labels{/name}","releases_url":"https://api.github.com/repos/billguy/rails_admin/releases{/id}","created_at":"2015-10-08T17:34:29Z","updated_at":"2015-10-08T17:34:32Z","pushed_at":"2015-10-09T13:47:59Z","git_url":"git://github.com/billguy/rails_admin.git","ssh_url":"git@github.com:billguy/rails_admin.git","clone_url":"https://github.com/billguy/rails_admin.git","svn_url":"https://github.com/billguy/rails_admin","homepage":"","size":16420,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sferik:master","ref":"master","sha":"f11bf03203bad21c3e5e2ef285f4fb5b0ce2909e","user":{"login":"sferik","id":10308,"avatar_url":"https://avatars.githubusercontent.com/u/10308?v=3","gravatar_id":"","url":"https://api.github.com/users/sferik","html_url":"https://github.com/sferik","followers_url":"https://api.github.com/users/sferik/followers","following_url":"https://api.github.com/users/sferik/following{/other_user}","gists_url":"https://api.github.com/users/sferik/gists{/gist_id}","starred_url":"https://api.github.com/users/sferik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sferik/subscriptions","organizations_url":"https://api.github.com/users/sferik/orgs","repos_url":"https://api.github.com/users/sferik/repos","events_url":"https://api.github.com/users/sferik/events{/privacy}","received_events_url":"https://api.github.com/users/sferik/received_events","type":"User","site_admin":false},"repo":{"id":810796,"name":"rails_admin","full_name":"sferik/rails_admin","owner":{"login":"sferik","id":10308,"avatar_url":"https://avatars.githubusercontent.com/u/10308?v=3","gravatar_id":"","url":"https://api.github.com/users/sferik","html_url":"https://github.com/sferik","followers_url":"https://api.github.com/users/sferik/followers","following_url":"https://api.github.com/users/sferik/following{/other_user}","gists_url":"https://api.github.com/users/sferik/gists{/gist_id}","starred_url":"https://api.github.com/users/sferik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sferik/subscriptions","organizations_url":"https://api.github.com/users/sferik/orgs","repos_url":"https://api.github.com/users/sferik/repos","events_url":"https://api.github.com/users/sferik/events{/privacy}","received_events_url":"https://api.github.com/users/sferik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sferik/rails_admin","description":"RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data","fork":false,"url":"https://api.github.com/repos/sferik/rails_admin","forks_url":"https://api.github.com/repos/sferik/rails_admin/forks","keys_url":"https://api.github.com/repos/sferik/rails_admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sferik/rails_admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sferik/rails_admin/teams","hooks_url":"https://api.github.com/repos/sferik/rails_admin/hooks","issue_events_url":"https://api.github.com/repos/sferik/rails_admin/issues/events{/number}","events_url":"https://api.github.com/repos/sferik/rails_admin/events","assignees_url":"https://api.github.com/repos/sferik/rails_admin/assignees{/user}","branches_url":"https://api.github.com/repos/sferik/rails_admin/branches{/branch}","tags_url":"https://api.github.com/repos/sferik/rails_admin/tags","blobs_url":"https://api.github.com/repos/sferik/rails_admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sferik/rails_admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sferik/rails_admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/sferik/rails_admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sferik/rails_admin/statuses/{sha}","languages_url":"https://api.github.com/repos/sferik/rails_admin/languages","stargazers_url":"https://api.github.com/repos/sferik/rails_admin/stargazers","contributors_url":"https://api.github.com/repos/sferik/rails_admin/contributors","subscribers_url":"https://api.github.com/repos/sferik/rails_admin/subscribers","subscription_url":"https://api.github.com/repos/sferik/rails_admin/subscription","commits_url":"https://api.github.com/repos/sferik/rails_admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/sferik/rails_admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/sferik/rails_admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/sferik/rails_admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/sferik/rails_admin/contents/{+path}","compare_url":"https://api.github.com/repos/sferik/rails_admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sferik/rails_admin/merges","archive_url":"https://api.github.com/repos/sferik/rails_admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sferik/rails_admin/downloads","issues_url":"https://api.github.com/repos/sferik/rails_admin/issues{/number}","pulls_url":"https://api.github.com/repos/sferik/rails_admin/pulls{/number}","milestones_url":"https://api.github.com/repos/sferik/rails_admin/milestones{/number}","notifications_url":"https://api.github.com/repos/sferik/rails_admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sferik/rails_admin/labels{/name}","releases_url":"https://api.github.com/repos/sferik/rails_admin/releases{/id}","created_at":"2010-08-01T17:01:00Z","updated_at":"2015-11-15T04:01:56Z","pushed_at":"2015-11-14T16:08:51Z","git_url":"git://github.com/sferik/rails_admin.git","ssh_url":"git@github.com:sferik/rails_admin.git","clone_url":"https://github.com/sferik/rails_admin.git","svn_url":"https://github.com/sferik/rails_admin","homepage":"","size":24553,"stargazers_count":5675,"watchers_count":5675,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1631,"mirror_url":null,"open_issues_count":267,"forks":1631,"open_issues":267,"watchers":5675,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sferik/rails_admin/pulls/2426"},"html":{"href":"https://github.com/sferik/rails_admin/pull/2426"},"issue":{"href":"https://api.github.com/repos/sferik/rails_admin/issues/2426"},"comments":{"href":"https://api.github.com/repos/sferik/rails_admin/issues/2426/comments"},"review_comments":{"href":"https://api.github.com/repos/sferik/rails_admin/pulls/2426/comments"},"review_comment":{"href":"https://api.github.com/repos/sferik/rails_admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sferik/rails_admin/pulls/2426/commits"},"statuses":{"href":"https://api.github.com/repos/sferik/rails_admin/statuses/54bb35a19962dafbdfc8c0faadb14d6046c73ea9"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":8,"review_comments":0,"commits":2,"additions":26,"deletions":1,"changed_files":2}}