{"action":"opened","issue":{"url":"https://api.github.com/repos/qjr3/MigraineTracker/issues/41","labels_url":"https://api.github.com/repos/qjr3/MigraineTracker/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/qjr3/MigraineTracker/issues/41/comments","events_url":"https://api.github.com/repos/qjr3/MigraineTracker/issues/41/events","html_url":"https://github.com/qjr3/MigraineTracker/issues/41","id":117943411,"number":41,"title":"Carbon data missing when both start and end times are present.","user":{"login":"qjr3","id":14002151,"avatar_url":"https://avatars.githubusercontent.com/u/14002151?v=3","gravatar_id":"","url":"https://api.github.com/users/qjr3","html_url":"https://github.com/qjr3","followers_url":"https://api.github.com/users/qjr3/followers","following_url":"https://api.github.com/users/qjr3/following{/other_user}","gists_url":"https://api.github.com/users/qjr3/gists{/gist_id}","starred_url":"https://api.github.com/users/qjr3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qjr3/subscriptions","organizations_url":"https://api.github.com/users/qjr3/orgs","repos_url":"https://api.github.com/users/qjr3/repos","events_url":"https://api.github.com/users/qjr3/events{/privacy}","received_events_url":"https://api.github.com/users/qjr3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/qjr3/MigraineTracker/labels/bug","name":"bug","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"qjr3","id":14002151,"avatar_url":"https://avatars.githubusercontent.com/u/14002151?v=3","gravatar_id":"","url":"https://api.github.com/users/qjr3","html_url":"https://github.com/qjr3","followers_url":"https://api.github.com/users/qjr3/followers","following_url":"https://api.github.com/users/qjr3/following{/other_user}","gists_url":"https://api.github.com/users/qjr3/gists{/gist_id}","starred_url":"https://api.github.com/users/qjr3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qjr3/subscriptions","organizations_url":"https://api.github.com/users/qjr3/orgs","repos_url":"https://api.github.com/users/qjr3/repos","events_url":"https://api.github.com/users/qjr3/events{/privacy}","received_events_url":"https://api.github.com/users/qjr3/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-20T01:00:57Z","updated_at":"2015-11-20T01:00:57Z","closed_at":null,"body":"When both start_time and end_time are filled the journal.show route crashes\r\n\r\nWhoops, looks like something went wrong.\r\n\r\n1/1\r\nInvalidArgumentException in Carbon.php line 425:\r\nData missing\r\nin Carbon.php line 425\r\nat Carbon::createFromFormat('Y-m-d\\TH:i:s', '2015-11-19T01:00') in JournalController.php line 145\r\nat JournalController->duration(object(Journal)) in JournalController.php line 65\r\nat JournalController->show(object(Journal))\r\nat call_user_func_array(array(object(JournalController), 'show'), array('journal' => object(Journal))) in Controller.php line 256\r\nat Controller->callAction('show', array('journal' => object(Journal))) in ControllerDispatcher.php line 164\r\nat ControllerDispatcher->call(object(JournalController), object(Route), 'show') in ControllerDispatcher.php line 112\r\nat ControllerDispatcher->Illuminate\\Routing\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 139\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in RedirectIfNotOwner.php line 30\r\nat RedirectIfNotOwner->handle(object(Request), object(Closure), 'journal')\r\nat call_user_func_array(array(object(RedirectIfNotOwner), 'handle'), array(object(Request), object(Closure), 'journal')) in Pipeline.php line 124\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 103\r\nat Pipeline->then(object(Closure)) in ControllerDispatcher.php line 114\r\nat ControllerDispatcher->callWithinStack(object(JournalController), object(Route), object(Request), 'show') in ControllerDispatcher.php line 69\r\nat ControllerDispatcher->dispatch(object(Route), object(Request), 'App\\Http\\Controllers\\JournalController', 'show') in Route.php line 203\r\nat Route->runWithCustomDispatcher(object(Request)) in Route.php line 134\r\nat Route->run(object(Request)) in Router.php line 712\r\nat Router->Illuminate\\Routing\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 139\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in Authenticate.php line 45\r\nat Authenticate->handle(object(Request), object(Closure))\r\nat call_user_func_array(array(object(Authenticate), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 103\r\nat Pipeline->then(object(Closure)) in Router.php line 714\r\nat Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 679\r\nat Router->dispatchToRoute(object(Request)) in Router.php line 639\r\nat Router->dispatch(object(Request)) in Kernel.php line 236\r\nat Kernel->Illuminate\\Foundation\\Http\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 139\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in VerifyCsrfToken.php line 50\r\nat VerifyCsrfToken->handle(object(Request), object(Closure))\r\nat call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in ShareErrorsFromSession.php line 49\r\nat ShareErrorsFromSession->handle(object(Request), object(Closure))\r\nat call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in StartSession.php line 62\r\nat StartSession->handle(object(Request), object(Closure))\r\nat call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37\r\nat AddQueuedCookiesToResponse->handle(object(Request), object(Closure))\r\nat call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in EncryptCookies.php line 59\r\nat EncryptCookies->handle(object(Request), object(Closure))\r\nat call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42\r\nat CheckForMaintenanceMode->handle(object(Request), object(Closure))\r\nat call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 103\r\nat Pipeline->then(object(Closure)) in Kernel.php line 122\r\nat Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87\r\nat Kernel->handle(object(Request)) in index.php line 62"}}