{"action":"created","issue":{"url":"https://api.github.com/repos/briannesbitt/Carbon/issues/1157","repository_url":"https://api.github.com/repos/briannesbitt/Carbon","labels_url":"https://api.github.com/repos/briannesbitt/Carbon/issues/1157/labels{/name}","comments_url":"https://api.github.com/repos/briannesbitt/Carbon/issues/1157/comments","events_url":"https://api.github.com/repos/briannesbitt/Carbon/issues/1157/events","html_url":"https://github.com/briannesbitt/Carbon/issues/1157","id":303138922,"number":1157,"title":"Failed to parse time string","user":{"login":"Deivide","id":905281,"avatar_url":"https://avatars1.githubusercontent.com/u/905281?v=4","gravatar_id":"","url":"https://api.github.com/users/Deivide","html_url":"https://github.com/Deivide","followers_url":"https://api.github.com/users/Deivide/followers","following_url":"https://api.github.com/users/Deivide/following{/other_user}","gists_url":"https://api.github.com/users/Deivide/gists{/gist_id}","starred_url":"https://api.github.com/users/Deivide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deivide/subscriptions","organizations_url":"https://api.github.com/users/Deivide/orgs","repos_url":"https://api.github.com/users/Deivide/repos","events_url":"https://api.github.com/users/Deivide/events{/privacy}","received_events_url":"https://api.github.com/users/Deivide/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-07T15:18:23Z","updated_at":"2018-03-07T16:55:58Z","closed_at":null,"author_association":"NONE","body":"Hi! I'm using php 5.6.33 and latest version of Carbon.\r\nI'm simply instantiating a new Carbon object with `new Carbon();` and one exception is raised in Carbon constructor:\r\n\r\nDateTime::__construct(): Failed to parse time string (2018-03-07 11:47:40.-513765) at position 24 (7): Unexpected character in vendor\\nesbot\\carbon\\src\\Carbon\\Carbon.php:433.\r\n\r\nThis error caused by f863708fa1b5c777e80e8dafa0441683dff260ff commit.\r\n\r\nShould this php version also be handled before adding the microseconds?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/briannesbitt/Carbon/issues/comments/371205556","html_url":"https://github.com/briannesbitt/Carbon/issues/1157#issuecomment-371205556","issue_url":"https://api.github.com/repos/briannesbitt/Carbon/issues/1157","id":371205556,"user":{"login":"nepos87","id":9459917,"avatar_url":"https://avatars2.githubusercontent.com/u/9459917?v=4","gravatar_id":"","url":"https://api.github.com/users/nepos87","html_url":"https://github.com/nepos87","followers_url":"https://api.github.com/users/nepos87/followers","following_url":"https://api.github.com/users/nepos87/following{/other_user}","gists_url":"https://api.github.com/users/nepos87/gists{/gist_id}","starred_url":"https://api.github.com/users/nepos87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nepos87/subscriptions","organizations_url":"https://api.github.com/users/nepos87/orgs","repos_url":"https://api.github.com/users/nepos87/repos","events_url":"https://api.github.com/users/nepos87/events{/privacy}","received_events_url":"https://api.github.com/users/nepos87/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T16:55:58Z","updated_at":"2018-03-07T16:55:58Z","author_association":"NONE","body":"Hi, I'm the same issue using laravel 4.2, php 5.6 and the lastest version of Carbon with the f863708 commit.\r\n\r\nIn particular this is the code that goes wrong in Middleware.php of framework:\r\n\r\n```\r\nprotected function getCookieLifetime()\t{\r\n\t\t$config = $this->manager->getSessionConfig();\r\n\t\treturn $config['expire_on_close'] ? 0 : Carbon::now()->addMinutes($config['lifetime']);\r\n\t}\r\n```"}}
{"actor":{"display_login":"nepos87"}}