{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/4181","labels_url":"https://api.github.com/repos/laravel/framework/issues/4181/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/4181/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/4181/events","html_url":"https://github.com/laravel/framework/pull/4181","id":31787661,"number":4181,"title":"Updated SqlServer grammar date format.","user":{"login":"MacTEC","id":3288601,"avatar_url":"https://avatars.githubusercontent.com/u/3288601?v=3","gravatar_id":"","url":"https://api.github.com/users/MacTEC","html_url":"https://github.com/MacTEC","followers_url":"https://api.github.com/users/MacTEC/followers","following_url":"https://api.github.com/users/MacTEC/following{/other_user}","gists_url":"https://api.github.com/users/MacTEC/gists{/gist_id}","starred_url":"https://api.github.com/users/MacTEC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MacTEC/subscriptions","organizations_url":"https://api.github.com/users/MacTEC/orgs","repos_url":"https://api.github.com/users/MacTEC/repos","events_url":"https://api.github.com/users/MacTEC/events{/privacy}","received_events_url":"https://api.github.com/users/MacTEC/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-04-18T08:24:47Z","updated_at":"2015-01-16T21:23:55Z","closed_at":"2014-04-18T13:14:18Z","pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/4181","html_url":"https://github.com/laravel/framework/pull/4181","diff_url":"https://github.com/laravel/framework/pull/4181.diff","patch_url":"https://github.com/laravel/framework/pull/4181.patch"},"body":"Previous format (`Y-m-d H:i:s.000`) caused 'The format separator does not match' error when a DateTime string with non-zero millisecond value was supplied.\r\n\r\nNote that although `u` in the format stands for microseconds rather than milliseconds, it does not make any difference as Carbon does not support fraction of a second anyway.\r\n\r\nFixes #2591 #2235."},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/70324451","html_url":"https://github.com/laravel/framework/pull/4181#issuecomment-70324451","issue_url":"https://api.github.com/repos/laravel/framework/issues/4181","id":70324451,"user":{"login":"jaybill","id":309584,"avatar_url":"https://avatars.githubusercontent.com/u/309584?v=3","gravatar_id":"","url":"https://api.github.com/users/jaybill","html_url":"https://github.com/jaybill","followers_url":"https://api.github.com/users/jaybill/followers","following_url":"https://api.github.com/users/jaybill/following{/other_user}","gists_url":"https://api.github.com/users/jaybill/gists{/gist_id}","starred_url":"https://api.github.com/users/jaybill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaybill/subscriptions","organizations_url":"https://api.github.com/users/jaybill/orgs","repos_url":"https://api.github.com/users/jaybill/repos","events_url":"https://api.github.com/users/jaybill/events{/privacy}","received_events_url":"https://api.github.com/users/jaybill/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T21:23:55Z","updated_at":"2015-01-16T21:23:55Z","body":"@ricksuggs Code worked for me with one minor change.\r\n\r\nMy timestamps are coming back as:\r\n\r\n    Nov  6 2014 06:15:000PM\r\n\r\nSo my getDateFormat() function is:\r\n\r\n    public function getDateFormat()\r\n    {\r\n        return 'M  j Y h:i:s:uA';\r\n    }\r\n\r\nAnd everything works correctly."}}