{"action":"opened","number":7322,"pull_request":{"url":"https://api.github.com/repos/TryGhost/Ghost/pulls/7322","id":84006102,"html_url":"https://github.com/TryGhost/Ghost/pull/7322","diff_url":"https://github.com/TryGhost/Ghost/pull/7322.diff","patch_url":"https://github.com/TryGhost/Ghost/pull/7322.patch","issue_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7322","number":7322,"state":"open","locked":false,"title":"🐛  fix 006 transform dates for sqlite server offset 0","user":{"login":"kirrg001","id":1160712,"avatar_url":"https://avatars.githubusercontent.com/u/1160712?v=3","gravatar_id":"","url":"https://api.github.com/users/kirrg001","html_url":"https://github.com/kirrg001","followers_url":"https://api.github.com/users/kirrg001/followers","following_url":"https://api.github.com/users/kirrg001/following{/other_user}","gists_url":"https://api.github.com/users/kirrg001/gists{/gist_id}","starred_url":"https://api.github.com/users/kirrg001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirrg001/subscriptions","organizations_url":"https://api.github.com/users/kirrg001/orgs","repos_url":"https://api.github.com/users/kirrg001/repos","events_url":"https://api.github.com/users/kirrg001/events{/privacy}","received_events_url":"https://api.github.com/users/kirrg001/received_events","type":"User","site_admin":false},"body":"refs #7192 \r\n\r\nThis is the first fix to the related issue.\r\nThe migration script for transforming dates missed one case: if your server timezone offset is 0 and you are using sqlite, then the migration was skipped. But for sqlite we need to update the date format in the database (from date integer to YYYY-MM-DD HH:mm:ss).\r\nWith this PR we don't skip this case.\r\n\r\nI will create another PR, which cares about the people who were affected by this use case. ","created_at":"2016-09-05T13:56:35Z","updated_at":"2016-09-05T13:56:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TryGhost/Ghost/pulls/7322/commits","review_comments_url":"https://api.github.com/repos/TryGhost/Ghost/pulls/7322/comments","review_comment_url":"https://api.github.com/repos/TryGhost/Ghost/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7322/comments","statuses_url":"https://api.github.com/repos/TryGhost/Ghost/statuses/c94bf8b7ecbdbedc1ffdb93d2e7c2064015e6415","head":{"label":"kirrg001:fix/migration-script-skips-sqlite","ref":"fix/migration-script-skips-sqlite","sha":"c94bf8b7ecbdbedc1ffdb93d2e7c2064015e6415","user":{"login":"kirrg001","id":1160712,"avatar_url":"https://avatars.githubusercontent.com/u/1160712?v=3","gravatar_id":"","url":"https://api.github.com/users/kirrg001","html_url":"https://github.com/kirrg001","followers_url":"https://api.github.com/users/kirrg001/followers","following_url":"https://api.github.com/users/kirrg001/following{/other_user}","gists_url":"https://api.github.com/users/kirrg001/gists{/gist_id}","starred_url":"https://api.github.com/users/kirrg001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirrg001/subscriptions","organizations_url":"https://api.github.com/users/kirrg001/orgs","repos_url":"https://api.github.com/users/kirrg001/repos","events_url":"https://api.github.com/users/kirrg001/events{/privacy}","received_events_url":"https://api.github.com/users/kirrg001/received_events","type":"User","site_admin":false},"repo":{"id":55587930,"name":"Ghost","full_name":"kirrg001/Ghost","owner":{"login":"kirrg001","id":1160712,"avatar_url":"https://avatars.githubusercontent.com/u/1160712?v=3","gravatar_id":"","url":"https://api.github.com/users/kirrg001","html_url":"https://github.com/kirrg001","followers_url":"https://api.github.com/users/kirrg001/followers","following_url":"https://api.github.com/users/kirrg001/following{/other_user}","gists_url":"https://api.github.com/users/kirrg001/gists{/gist_id}","starred_url":"https://api.github.com/users/kirrg001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirrg001/subscriptions","organizations_url":"https://api.github.com/users/kirrg001/orgs","repos_url":"https://api.github.com/users/kirrg001/repos","events_url":"https://api.github.com/users/kirrg001/events{/privacy}","received_events_url":"https://api.github.com/users/kirrg001/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kirrg001/Ghost","description":"Just a blogging platform","fork":true,"url":"https://api.github.com/repos/kirrg001/Ghost","forks_url":"https://api.github.com/repos/kirrg001/Ghost/forks","keys_url":"https://api.github.com/repos/kirrg001/Ghost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kirrg001/Ghost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kirrg001/Ghost/teams","hooks_url":"https://api.github.com/repos/kirrg001/Ghost/hooks","issue_events_url":"https://api.github.com/repos/kirrg001/Ghost/issues/events{/number}","events_url":"https://api.github.com/repos/kirrg001/Ghost/events","assignees_url":"https://api.github.com/repos/kirrg001/Ghost/assignees{/user}","branches_url":"https://api.github.com/repos/kirrg001/Ghost/branches{/branch}","tags_url":"https://api.github.com/repos/kirrg001/Ghost/tags","blobs_url":"https://api.github.com/repos/kirrg001/Ghost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kirrg001/Ghost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kirrg001/Ghost/git/refs{/sha}","trees_url":"https://api.github.com/repos/kirrg001/Ghost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kirrg001/Ghost/statuses/{sha}","languages_url":"https://api.github.com/repos/kirrg001/Ghost/languages","stargazers_url":"https://api.github.com/repos/kirrg001/Ghost/stargazers","contributors_url":"https://api.github.com/repos/kirrg001/Ghost/contributors","subscribers_url":"https://api.github.com/repos/kirrg001/Ghost/subscribers","subscription_url":"https://api.github.com/repos/kirrg001/Ghost/subscription","commits_url":"https://api.github.com/repos/kirrg001/Ghost/commits{/sha}","git_commits_url":"https://api.github.com/repos/kirrg001/Ghost/git/commits{/sha}","comments_url":"https://api.github.com/repos/kirrg001/Ghost/comments{/number}","issue_comment_url":"https://api.github.com/repos/kirrg001/Ghost/issues/comments{/number}","contents_url":"https://api.github.com/repos/kirrg001/Ghost/contents/{+path}","compare_url":"https://api.github.com/repos/kirrg001/Ghost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kirrg001/Ghost/merges","archive_url":"https://api.github.com/repos/kirrg001/Ghost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kirrg001/Ghost/downloads","issues_url":"https://api.github.com/repos/kirrg001/Ghost/issues{/number}","pulls_url":"https://api.github.com/repos/kirrg001/Ghost/pulls{/number}","milestones_url":"https://api.github.com/repos/kirrg001/Ghost/milestones{/number}","notifications_url":"https://api.github.com/repos/kirrg001/Ghost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kirrg001/Ghost/labels{/name}","releases_url":"https://api.github.com/repos/kirrg001/Ghost/releases{/id}","deployments_url":"https://api.github.com/repos/kirrg001/Ghost/deployments","created_at":"2016-04-06T08:16:39Z","updated_at":"2016-04-06T08:16:43Z","pushed_at":"2016-09-05T13:52:41Z","git_url":"git://github.com/kirrg001/Ghost.git","ssh_url":"git@github.com:kirrg001/Ghost.git","clone_url":"https://github.com/kirrg001/Ghost.git","svn_url":"https://github.com/kirrg001/Ghost","homepage":"https://ghost.org","size":21775,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"TryGhost:master","ref":"master","sha":"0b6459cb91e3c872450e74e3f2e607541e49b931","user":{"login":"TryGhost","id":2178663,"avatar_url":"https://avatars.githubusercontent.com/u/2178663?v=3","gravatar_id":"","url":"https://api.github.com/users/TryGhost","html_url":"https://github.com/TryGhost","followers_url":"https://api.github.com/users/TryGhost/followers","following_url":"https://api.github.com/users/TryGhost/following{/other_user}","gists_url":"https://api.github.com/users/TryGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/TryGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TryGhost/subscriptions","organizations_url":"https://api.github.com/users/TryGhost/orgs","repos_url":"https://api.github.com/users/TryGhost/repos","events_url":"https://api.github.com/users/TryGhost/events{/privacy}","received_events_url":"https://api.github.com/users/TryGhost/received_events","type":"Organization","site_admin":false},"repo":{"id":9852918,"name":"Ghost","full_name":"TryGhost/Ghost","owner":{"login":"TryGhost","id":2178663,"avatar_url":"https://avatars.githubusercontent.com/u/2178663?v=3","gravatar_id":"","url":"https://api.github.com/users/TryGhost","html_url":"https://github.com/TryGhost","followers_url":"https://api.github.com/users/TryGhost/followers","following_url":"https://api.github.com/users/TryGhost/following{/other_user}","gists_url":"https://api.github.com/users/TryGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/TryGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TryGhost/subscriptions","organizations_url":"https://api.github.com/users/TryGhost/orgs","repos_url":"https://api.github.com/users/TryGhost/repos","events_url":"https://api.github.com/users/TryGhost/events{/privacy}","received_events_url":"https://api.github.com/users/TryGhost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TryGhost/Ghost","description":"Just a blogging platform","fork":false,"url":"https://api.github.com/repos/TryGhost/Ghost","forks_url":"https://api.github.com/repos/TryGhost/Ghost/forks","keys_url":"https://api.github.com/repos/TryGhost/Ghost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TryGhost/Ghost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TryGhost/Ghost/teams","hooks_url":"https://api.github.com/repos/TryGhost/Ghost/hooks","issue_events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/events{/number}","events_url":"https://api.github.com/repos/TryGhost/Ghost/events","assignees_url":"https://api.github.com/repos/TryGhost/Ghost/assignees{/user}","branches_url":"https://api.github.com/repos/TryGhost/Ghost/branches{/branch}","tags_url":"https://api.github.com/repos/TryGhost/Ghost/tags","blobs_url":"https://api.github.com/repos/TryGhost/Ghost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TryGhost/Ghost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TryGhost/Ghost/git/refs{/sha}","trees_url":"https://api.github.com/repos/TryGhost/Ghost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TryGhost/Ghost/statuses/{sha}","languages_url":"https://api.github.com/repos/TryGhost/Ghost/languages","stargazers_url":"https://api.github.com/repos/TryGhost/Ghost/stargazers","contributors_url":"https://api.github.com/repos/TryGhost/Ghost/contributors","subscribers_url":"https://api.github.com/repos/TryGhost/Ghost/subscribers","subscription_url":"https://api.github.com/repos/TryGhost/Ghost/subscription","commits_url":"https://api.github.com/repos/TryGhost/Ghost/commits{/sha}","git_commits_url":"https://api.github.com/repos/TryGhost/Ghost/git/commits{/sha}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/comments{/number}","issue_comment_url":"https://api.github.com/repos/TryGhost/Ghost/issues/comments{/number}","contents_url":"https://api.github.com/repos/TryGhost/Ghost/contents/{+path}","compare_url":"https://api.github.com/repos/TryGhost/Ghost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TryGhost/Ghost/merges","archive_url":"https://api.github.com/repos/TryGhost/Ghost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TryGhost/Ghost/downloads","issues_url":"https://api.github.com/repos/TryGhost/Ghost/issues{/number}","pulls_url":"https://api.github.com/repos/TryGhost/Ghost/pulls{/number}","milestones_url":"https://api.github.com/repos/TryGhost/Ghost/milestones{/number}","notifications_url":"https://api.github.com/repos/TryGhost/Ghost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TryGhost/Ghost/labels{/name}","releases_url":"https://api.github.com/repos/TryGhost/Ghost/releases{/id}","deployments_url":"https://api.github.com/repos/TryGhost/Ghost/deployments","created_at":"2013-05-04T11:09:13Z","updated_at":"2016-09-05T13:19:52Z","pushed_at":"2016-09-05T13:56:36Z","git_url":"git://github.com/TryGhost/Ghost.git","ssh_url":"git@github.com:TryGhost/Ghost.git","clone_url":"https://github.com/TryGhost/Ghost.git","svn_url":"https://github.com/TryGhost/Ghost","homepage":"https://ghost.org","size":55126,"stargazers_count":20552,"watchers_count":20552,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4986,"mirror_url":null,"open_issues_count":243,"forks":4986,"open_issues":243,"watchers":20552,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/7322"},"html":{"href":"https://github.com/TryGhost/Ghost/pull/7322"},"issue":{"href":"https://api.github.com/repos/TryGhost/Ghost/issues/7322"},"comments":{"href":"https://api.github.com/repos/TryGhost/Ghost/issues/7322/comments"},"review_comments":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/7322/comments"},"review_comment":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/7322/commits"},"statuses":{"href":"https://api.github.com/repos/TryGhost/Ghost/statuses/c94bf8b7ecbdbedc1ffdb93d2e7c2064015e6415"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":35,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"kirrg001"}}