{"action":"created","comment":{"url":"https://api.github.com/repos/OPM/opm-simulators/pulls/comments/153121751","pull_request_review_id":79081013,"id":153121751,"diff_hunk":"@@ -114,7 +114,7 @@ namespace Opm\n \n     boost::posix_time::ptime SimulatorTimer::currentDateTime() const\n     {\n-        return startDateTime() + boost::posix_time::seconds( (int) simulationTimeElapsed());\n+        return startDateTime() + boost::posix_time::seconds( (double) simulationTimeElapsed());","path":"opm/simulators/timestepping/SimulatorTimer.cpp","position":null,"original_position":5,"commit_id":"0ca803c5bdf3a4bff76f63f7642aa1f492450d96","original_commit_id":"f6e12d080a30370f3cf9e5d0f76be9550d2726a1","user":{"login":"totto82","id":3223024,"avatar_url":"https://avatars1.githubusercontent.com/u/3223024?v=4","gravatar_id":"","url":"https://api.github.com/users/totto82","html_url":"https://github.com/totto82","followers_url":"https://api.github.com/users/totto82/followers","following_url":"https://api.github.com/users/totto82/following{/other_user}","gists_url":"https://api.github.com/users/totto82/gists{/gist_id}","starred_url":"https://api.github.com/users/totto82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totto82/subscriptions","organizations_url":"https://api.github.com/users/totto82/orgs","repos_url":"https://api.github.com/users/totto82/repos","events_url":"https://api.github.com/users/totto82/events{/privacy}","received_events_url":"https://api.github.com/users/totto82/received_events","type":"User","site_admin":false},"body":"Sorry I don't think it was the removing of the (double) that messed it up. \r\nIf I do: \r\n\r\n```boost::posix_time::minutes( simulationTimeElapsed() / 60); ```\r\n\r\nit seems to work. Maybe it is time to make a test for this call? \r\n","created_at":"2017-11-27T07:33:02Z","updated_at":"2017-11-27T07:33:03Z","html_url":"https://github.com/OPM/opm-simulators/pull/1347#discussion_r153121751","pull_request_url":"https://api.github.com/repos/OPM/opm-simulators/pulls/1347","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/OPM/opm-simulators/pulls/comments/153121751"},"html":{"href":"https://github.com/OPM/opm-simulators/pull/1347#discussion_r153121751"},"pull_request":{"href":"https://api.github.com/repos/OPM/opm-simulators/pulls/1347"}},"in_reply_to_id":152979314},"pull_request":{"url":"https://api.github.com/repos/OPM/opm-simulators/pulls/1347","id":154543345,"html_url":"https://github.com/OPM/opm-simulators/pull/1347","diff_url":"https://github.com/OPM/opm-simulators/pull/1347.diff","patch_url":"https://github.com/OPM/opm-simulators/pull/1347.patch","issue_url":"https://api.github.com/repos/OPM/opm-simulators/issues/1347","number":1347,"state":"open","locked":false,"title":"Fix date for long simulation times","user":{"login":"totto82","id":3223024,"avatar_url":"https://avatars1.githubusercontent.com/u/3223024?v=4","gravatar_id":"","url":"https://api.github.com/users/totto82","html_url":"https://github.com/totto82","followers_url":"https://api.github.com/users/totto82/followers","following_url":"https://api.github.com/users/totto82/following{/other_user}","gists_url":"https://api.github.com/users/totto82/gists{/gist_id}","starred_url":"https://api.github.com/users/totto82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totto82/subscriptions","organizations_url":"https://api.github.com/users/totto82/orgs","repos_url":"https://api.github.com/users/totto82/repos","events_url":"https://api.github.com/users/totto82/events{/privacy}","received_events_url":"https://api.github.com/users/totto82/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-24T13:00:43Z","updated_at":"2017-11-27T07:33:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"478815c433d730213bd51e288d1d1d6fd465bc76","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/OPM/opm-simulators/pulls/1347/commits","review_comments_url":"https://api.github.com/repos/OPM/opm-simulators/pulls/1347/comments","review_comment_url":"https://api.github.com/repos/OPM/opm-simulators/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OPM/opm-simulators/issues/1347/comments","statuses_url":"https://api.github.com/repos/OPM/opm-simulators/statuses/0ca803c5bdf3a4bff76f63f7642aa1f492450d96","head":{"label":"totto82:fixLargeTime","ref":"fixLargeTime","sha":"0ca803c5bdf3a4bff76f63f7642aa1f492450d96","user":{"login":"totto82","id":3223024,"avatar_url":"https://avatars1.githubusercontent.com/u/3223024?v=4","gravatar_id":"","url":"https://api.github.com/users/totto82","html_url":"https://github.com/totto82","followers_url":"https://api.github.com/users/totto82/followers","following_url":"https://api.github.com/users/totto82/following{/other_user}","gists_url":"https://api.github.com/users/totto82/gists{/gist_id}","starred_url":"https://api.github.com/users/totto82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totto82/subscriptions","organizations_url":"https://api.github.com/users/totto82/orgs","repos_url":"https://api.github.com/users/totto82/repos","events_url":"https://api.github.com/users/totto82/events{/privacy}","received_events_url":"https://api.github.com/users/totto82/received_events","type":"User","site_admin":false},"repo":{"id":10097626,"name":"opm-simulators","full_name":"totto82/opm-simulators","owner":{"login":"totto82","id":3223024,"avatar_url":"https://avatars1.githubusercontent.com/u/3223024?v=4","gravatar_id":"","url":"https://api.github.com/users/totto82","html_url":"https://github.com/totto82","followers_url":"https://api.github.com/users/totto82/followers","following_url":"https://api.github.com/users/totto82/following{/other_user}","gists_url":"https://api.github.com/users/totto82/gists{/gist_id}","starred_url":"https://api.github.com/users/totto82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totto82/subscriptions","organizations_url":"https://api.github.com/users/totto82/orgs","repos_url":"https://api.github.com/users/totto82/repos","events_url":"https://api.github.com/users/totto82/events{/privacy}","received_events_url":"https://api.github.com/users/totto82/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/totto82/opm-simulators","description":"Utilities for automatic differentiation and simulators based on AD.","fork":true,"url":"https://api.github.com/repos/totto82/opm-simulators","forks_url":"https://api.github.com/repos/totto82/opm-simulators/forks","keys_url":"https://api.github.com/repos/totto82/opm-simulators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/totto82/opm-simulators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/totto82/opm-simulators/teams","hooks_url":"https://api.github.com/repos/totto82/opm-simulators/hooks","issue_events_url":"https://api.github.com/repos/totto82/opm-simulators/issues/events{/number}","events_url":"https://api.github.com/repos/totto82/opm-simulators/events","assignees_url":"https://api.github.com/repos/totto82/opm-simulators/assignees{/user}","branches_url":"https://api.github.com/repos/totto82/opm-simulators/branches{/branch}","tags_url":"https://api.github.com/repos/totto82/opm-simulators/tags","blobs_url":"https://api.github.com/repos/totto82/opm-simulators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/totto82/opm-simulators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/totto82/opm-simulators/git/refs{/sha}","trees_url":"https://api.github.com/repos/totto82/opm-simulators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/totto82/opm-simulators/statuses/{sha}","languages_url":"https://api.github.com/repos/totto82/opm-simulators/languages","stargazers_url":"https://api.github.com/repos/totto82/opm-simulators/stargazers","contributors_url":"https://api.github.com/repos/totto82/opm-simulators/contributors","subscribers_url":"https://api.github.com/repos/totto82/opm-simulators/subscribers","subscription_url":"https://api.github.com/repos/totto82/opm-simulators/subscription","commits_url":"https://api.github.com/repos/totto82/opm-simulators/commits{/sha}","git_commits_url":"https://api.github.com/repos/totto82/opm-simulators/git/commits{/sha}","comments_url":"https://api.github.com/repos/totto82/opm-simulators/comments{/number}","issue_comment_url":"https://api.github.com/repos/totto82/opm-simulators/issues/comments{/number}","contents_url":"https://api.github.com/repos/totto82/opm-simulators/contents/{+path}","compare_url":"https://api.github.com/repos/totto82/opm-simulators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/totto82/opm-simulators/merges","archive_url":"https://api.github.com/repos/totto82/opm-simulators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/totto82/opm-simulators/downloads","issues_url":"https://api.github.com/repos/totto82/opm-simulators/issues{/number}","pulls_url":"https://api.github.com/repos/totto82/opm-simulators/pulls{/number}","milestones_url":"https://api.github.com/repos/totto82/opm-simulators/milestones{/number}","notifications_url":"https://api.github.com/repos/totto82/opm-simulators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/totto82/opm-simulators/labels{/name}","releases_url":"https://api.github.com/repos/totto82/opm-simulators/releases{/id}","deployments_url":"https://api.github.com/repos/totto82/opm-simulators/deployments","created_at":"2013-05-16T09:04:45Z","updated_at":"2016-10-24T12:24:00Z","pushed_at":"2017-11-24T14:23:45Z","git_url":"git://github.com/totto82/opm-simulators.git","ssh_url":"git@github.com:totto82/opm-simulators.git","clone_url":"https://github.com/totto82/opm-simulators.git","svn_url":"https://github.com/totto82/opm-simulators","homepage":null,"size":9773,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"OPM:master","ref":"master","sha":"aab41f3df2f5897021b0031adcc7d3991a360f77","user":{"login":"OPM","id":1827197,"avatar_url":"https://avatars0.githubusercontent.com/u/1827197?v=4","gravatar_id":"","url":"https://api.github.com/users/OPM","html_url":"https://github.com/OPM","followers_url":"https://api.github.com/users/OPM/followers","following_url":"https://api.github.com/users/OPM/following{/other_user}","gists_url":"https://api.github.com/users/OPM/gists{/gist_id}","starred_url":"https://api.github.com/users/OPM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OPM/subscriptions","organizations_url":"https://api.github.com/users/OPM/orgs","repos_url":"https://api.github.com/users/OPM/repos","events_url":"https://api.github.com/users/OPM/events{/privacy}","received_events_url":"https://api.github.com/users/OPM/received_events","type":"Organization","site_admin":false},"repo":{"id":10097543,"name":"opm-simulators","full_name":"OPM/opm-simulators","owner":{"login":"OPM","id":1827197,"avatar_url":"https://avatars0.githubusercontent.com/u/1827197?v=4","gravatar_id":"","url":"https://api.github.com/users/OPM","html_url":"https://github.com/OPM","followers_url":"https://api.github.com/users/OPM/followers","following_url":"https://api.github.com/users/OPM/following{/other_user}","gists_url":"https://api.github.com/users/OPM/gists{/gist_id}","starred_url":"https://api.github.com/users/OPM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OPM/subscriptions","organizations_url":"https://api.github.com/users/OPM/orgs","repos_url":"https://api.github.com/users/OPM/repos","events_url":"https://api.github.com/users/OPM/events{/privacy}","received_events_url":"https://api.github.com/users/OPM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OPM/opm-simulators","description":"Simulator programs and utilities for automatic differentiation.","fork":false,"url":"https://api.github.com/repos/OPM/opm-simulators","forks_url":"https://api.github.com/repos/OPM/opm-simulators/forks","keys_url":"https://api.github.com/repos/OPM/opm-simulators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OPM/opm-simulators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OPM/opm-simulators/teams","hooks_url":"https://api.github.com/repos/OPM/opm-simulators/hooks","issue_events_url":"https://api.github.com/repos/OPM/opm-simulators/issues/events{/number}","events_url":"https://api.github.com/repos/OPM/opm-simulators/events","assignees_url":"https://api.github.com/repos/OPM/opm-simulators/assignees{/user}","branches_url":"https://api.github.com/repos/OPM/opm-simulators/branches{/branch}","tags_url":"https://api.github.com/repos/OPM/opm-simulators/tags","blobs_url":"https://api.github.com/repos/OPM/opm-simulators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OPM/opm-simulators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OPM/opm-simulators/git/refs{/sha}","trees_url":"https://api.github.com/repos/OPM/opm-simulators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OPM/opm-simulators/statuses/{sha}","languages_url":"https://api.github.com/repos/OPM/opm-simulators/languages","stargazers_url":"https://api.github.com/repos/OPM/opm-simulators/stargazers","contributors_url":"https://api.github.com/repos/OPM/opm-simulators/contributors","subscribers_url":"https://api.github.com/repos/OPM/opm-simulators/subscribers","subscription_url":"https://api.github.com/repos/OPM/opm-simulators/subscription","commits_url":"https://api.github.com/repos/OPM/opm-simulators/commits{/sha}","git_commits_url":"https://api.github.com/repos/OPM/opm-simulators/git/commits{/sha}","comments_url":"https://api.github.com/repos/OPM/opm-simulators/comments{/number}","issue_comment_url":"https://api.github.com/repos/OPM/opm-simulators/issues/comments{/number}","contents_url":"https://api.github.com/repos/OPM/opm-simulators/contents/{+path}","compare_url":"https://api.github.com/repos/OPM/opm-simulators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OPM/opm-simulators/merges","archive_url":"https://api.github.com/repos/OPM/opm-simulators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OPM/opm-simulators/downloads","issues_url":"https://api.github.com/repos/OPM/opm-simulators/issues{/number}","pulls_url":"https://api.github.com/repos/OPM/opm-simulators/pulls{/number}","milestones_url":"https://api.github.com/repos/OPM/opm-simulators/milestones{/number}","notifications_url":"https://api.github.com/repos/OPM/opm-simulators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OPM/opm-simulators/labels{/name}","releases_url":"https://api.github.com/repos/OPM/opm-simulators/releases{/id}","deployments_url":"https://api.github.com/repos/OPM/opm-simulators/deployments","created_at":"2013-05-16T08:59:22Z","updated_at":"2017-11-13T14:52:00Z","pushed_at":"2017-11-27T06:26:23Z","git_url":"git://github.com/OPM/opm-simulators.git","ssh_url":"git@github.com:OPM/opm-simulators.git","clone_url":"https://github.com/OPM/opm-simulators.git","svn_url":"https://github.com/OPM/opm-simulators","homepage":"http://www.opm-project.org","size":9777,"stargazers_count":18,"watchers_count":18,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"archived":false,"open_issues_count":54,"forks":46,"open_issues":54,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OPM/opm-simulators/pulls/1347"},"html":{"href":"https://github.com/OPM/opm-simulators/pull/1347"},"issue":{"href":"https://api.github.com/repos/OPM/opm-simulators/issues/1347"},"comments":{"href":"https://api.github.com/repos/OPM/opm-simulators/issues/1347/comments"},"review_comments":{"href":"https://api.github.com/repos/OPM/opm-simulators/pulls/1347/comments"},"review_comment":{"href":"https://api.github.com/repos/OPM/opm-simulators/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OPM/opm-simulators/pulls/1347/commits"},"statuses":{"href":"https://api.github.com/repos/OPM/opm-simulators/statuses/0ca803c5bdf3a4bff76f63f7642aa1f492450d96"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"totto82"}}